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):
16
#151 - Niru Maheswaranathan / niru_m

11/20/2016 at 03:41AM

16
#152 - Mick Killianey / mkillianey

12/27/2016 at 08:31PM

16
#153 - Valacar / valacar

01/18/2017 at 02:47AM

16
#154 - Paul Inc / hiniol1982

08/15/2017 at 04:10PM

17
#155 - GVest Two / GvestTwo

03/23/2017 at 07:18AM

17
#156 - Gurukandhamoorthi / Gurukandhamoor1

07/10/2017 at 12:45PM

18
#157 - myjunkmails / myjunkmails

11/24/2016 at 05:09AM

18
#158 - Daniel / 0x9ABC

08/18/2017 at 04:37PM

19
#159 - John Mahowald / JohnMahowald

11/22/2016 at 10:33PM

19
#160 - Tim Simislu / AvianYo

12/11/2016 at 09:54AM

19
#161 - lpag / lpag_ai

06/25/2017 at 10:58PM

19
#162 - Jeff / RealJeffIrwin

10/09/2017 at 06:47PM

19
#163 - Clémence / Clemence_Neoxia

02/02/2018 at 10:39AM

22
#164 - TiByte / tibyte

11/20/2016 at 12:49PM

22
#165 - Adi Ron / notadiron

03/10/2017 at 03:50PM

23
#166 - Chris Jewell 🏳️‍🌈 / knightstickc

11/21/2016 at 02:38AM

23
#167 - Adam Kożuch / adamkozuch

04/06/2017 at 08:14AM

32
#168 - Cù Hữu Hoàng / Cuhuuhoang

02/14/2017 at 03:04PM

71
#169 - shellfire32 / shellfire32

11/25/2016 at 01:54PM