Real Vim ninjas count every keystroke - do you?

Pick a challenge, fire up Vim, and show us what you got.

Changelog, Rules & FAQ, updates: @vimgolf, RSS.

Your VimGolf key: please sign in

$ gem install vimgolf
$ vimgolf setup
$ vimgolf put 583112d0215b7c3ed2016bdb

Order and join

There's something special about the input order.

Start file
four
one
two
five
three
six
End file
one two three
four five
six

View Diff

You're one of the proud few who checks the diff. Have a hint.

10 strokes. Probably.

Solutions

The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!

Check out these helpful resources to improve your Vim skills... Game on.

Unlock 135 remaining solutions by signing in and submitting your own entry
#136 Codingpotato / codingpotato - Score: 14 - 05/07/17 @ 09:50
ddJpJjddkPkJZZ

0 comments


#137 Jenny Johnson / Kippz07 - Score: 14 - 05/11/17 @ 11:47
ddJpJjddkPkJZZ

0 comments


#138 ʀǟɦʊʟ ɮɦօʟǟ / theRahulBhola - Score: 14 - 05/26/17 @ 11:38
ddjpJddp1GJJZZ

0 comments


#139 toddagibson / toddagibson - Score: 14 - 06/07/17 @ 17:38
jJddpJ1GJddpZZ

0 comments


#140 moritz / moritz45081535 - Score: 14 - 06/18/17 @ 15:38
:m3<CR>Jddpgg3JZZ

0 comments


#141 Brandon Height / Lask0x - Score: 14 - 08/08/17 @ 03:46
:m3<CR>JddpggJJZZ

0 comments


#142 James / Dronak - Score: 14 - 08/28/17 @ 02:08
ddJpJjddkPkJZZ

0 comments


#143 Graham Bates / gigabates - Score: 14 - 09/24/17 @ 21:01
ddJpJjddkPkJZZ

0 comments


#144 Mike Harris / MikeMJHarris - Score: 14 - 11/13/17 @ 15:10
:m3<CR>Jddpgg3JZZ

0 comments


#145 z0c / zerocabal - Score: 14 - 06/06/18 @ 15:15
:m3<CR>JddpggJJZZ

0 comments


#146 Alex Gunning / XelaGninnug - Score: 15 - 11/25/16 @ 19:15
ddJpJjddggpkJZZ

0 comments


#147 Ton van den Heuvel / tonheuvel - Score: 15 - 12/01/16 @ 13:33
ddjpdjpggJJjJZZ

0 comments


#148 Mark Badros / mbadros - Score: 15 - 12/08/16 @ 23:47
ddJpJjddggpkJZZ

0 comments


#149 Matt Walsh / wattmalsh - Score: 15 - 02/03/17 @ 18:21
ddJpJjddggpkJZZ

0 comments


#150 quex / quex_info - Score: 15 - 03/17/17 @ 22:39
jJVdjPJddggJPZZ

0 comments


#151 Niru Maheswaranathan / niru_m - Score: 16 - 11/20/16 @ 03:41
ddJpJjddgg$pkJZZ

0 comments


#152 Mick Killianey / mkillianey - Score: 16 - 12/27/16 @ 20:31
ddJpJddp<Up><Up>J<Esc>:wq<CR>

0 comments


#153 Valacar / valacar - Score: 16 - 01/18/17 @ 02:47
:m3|j|m+|0,3j|x<CR>

0 comments


#154 Paul Inc / hiniol1982 - Score: 16 - 08/15/17 @ 16:10
:m3<CR>J:m4<CR>k<C-V>ggJZZ

0 comments


#155 GVest Two / GvestTwo - Score: 17 - 03/23/17 @ 07:18
ddjjPJjddkPkkJJZZ

0 comments


#156 Gurukandhamoorthi / Gurukandhamoor1 - Score: 17 - 07/10/17 @ 12:45
ddGPkkddGPkJH3JZZ

0 comments


#157 myjunkmails / myjunkmails - Score: 18 - 11/24/16 @ 05:09
ddJjPJjddkPkJ<Esc>:wq<CR>

0 comments


#158 Daniel / 0x9ABC - Score: 18 - 08/18/17 @ 16:37
:m3<CR>:5m2<CR>V{JjVjJZZ

0 comments


#159 John Mahowald / JohnMahowald - Score: 19 - 11/22/16 @ 22:33
ddjpjjddkkJkpkkJJZZ

0 comments


#160 Tim Simislu / AvianYo - Score: 19 - 12/11/16 @ 09:54
JJJbbd2wjbPddkP:wq<CR>

0 comments


#161 lpag / lpag_ai - Score: 19 - 06/25/17 @ 22:58
ddjpjjddkkPkkJJjJZZ

0 comments


#162 Jeff / RealJeffIrwin - Score: 19 - 10/09/17 @ 18:47
dd3jpkkddjpggJJjJZZ

0 comments


#163 Clémence / Clemence_Neoxia - Score: 19 - 02/02/18 @ 10:39
ddjpjjdd2kPggJJjJZZ

0 comments


#164 TiByte / tibyte - Score: 22 - 11/20/16 @ 12:49
jJjj:m-1<BS>2<CR>kJ:m-2<CR>jJZZ

0 comments


#165 Adi Ron / notadiron - Score: 22 - 03/10/17 @ 15:50
<Tab>jVjdkP4jdd2kPggJJjJZZ

0 comments


#166 Chris Jewell 🏳️‍🌈 / knightstickc - Score: 23 - 11/21/16 @ 02:38
ddjp2jdd2kPkkJJjJ<C-C><C-C>:wq<CR>

0 comments


#167 Adam Kożuch / adamkozuch - Score: 23 - 04/06/17 @ 08:14
ddjpjjddkkkpjJkkkJJ:wq<CR>

0 comments


#168 Cù Hữu Hoàng / Cuhuuhoang - Score: 32 - 02/14/17 @ 15:04
:m 3<CR>Jj.u:m 3<CR>:m 2<CR>2j2k2k2JJ:wq<CR>

0 comments


#169 shellfire32 / shellfire32 - Score: 71 - 11/25/16 @ 13:54
hggjji<BS> <Esc>kklljjjhhhkxxuuddj?<Esc><Esc>pujkppuki<BS> <Esc>hhhhhhhkddjpkxxuuddpi<BS> <Esc>;:wq<CR>

0 comments


Created by: udioica

169 active golfers, 580 entries

Leaderboard (lowest score wins):
10
#31 - Tom BP / ThosBP

04/20/2017 at 02:22PM

10
#32 - 梧桐王子 / WutongYujie

04/25/2017 at 03:21AM

10
#33 - Chris Robertson / chrisxrobertson

05/04/2017 at 07:38AM

10
#34 - Melvin Cheung / MelvinCheung

05/23/2017 at 03:50AM

10
#35 - BlackCap / BlackCapCoder

05/24/2017 at 07:03PM

10
#36 - David Gustavsson / mrGustaphe

06/09/2017 at 11:54AM

10
#37 - Joel Meyer-Hamme / JoelMeyerHamme

06/21/2017 at 02:03PM

10
#38 - huho / huho_xu

08/09/2017 at 07:58PM

10
#39 - 杨洋 / 176795444

08/14/2017 at 12:08PM

10
#40 - Terry Ding / TerryDing77

08/24/2017 at 03:40PM

10
#41 - Turkey Man / lvturkeyman

11/08/2017 at 06:22PM

10
#42 - Benoit Mortgat / Benoit_Mortgat

11/14/2017 at 12:22PM

10
#43 - Prithviraj Patil / dummyprithviraj

12/03/2017 at 04:15PM

10
#44 - BarbaJol / drpproteus

01/06/2018 at 11:35AM

10
#45 - ParasamGateZero / ParasamGateZero

02/01/2018 at 07:12PM

10
#46 - Alphonse Mariya / alfunx

02/12/2018 at 07:07PM

10
#47 - Kaydo Alders / Yousousen

03/13/2018 at 05:20PM

10
#48 - GreenPinguin / GreenPinguin2

03/14/2018 at 01:33PM

10
#49 - Maxim Zalata / zalatik

03/30/2018 at 04:56PM

10
#50 - vimthrowaway / vimgolf_throw

04/08/2018 at 02:04PM

10
#51 - platypusDancing / platypusDancing

05/03/2018 at 07:00PM

10
#52 - towc / MateiCopot

05/25/2018 at 05:12PM

11
#53 - Kerson Hsiao / KersonHsiao

11/20/2016 at 01:29PM

11
#54 - Stanislav / prstad

11/20/2016 at 09:24PM

11
#55 - Jon Krause / jkrause314

11/20/2016 at 09:33PM

11
#56 - Roger Guldbrandsen / kinbiko

11/29/2016 at 10:49PM

11
#57 - th / tithrx

12/02/2016 at 09:27AM

11
#58 - えるざっぷ / _elzup_

12/03/2016 at 02:56AM

11
#59 - Sergey Alekhnovich / salekhn

12/03/2016 at 07:32PM

11
#60 - John / amazeQuaternio

12/04/2016 at 10:56AM