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
#1 - Urtica dioica / udioica

11/21/2016 at 03:38AM

10
#2 - Smylers / Smylers2

11/21/2016 at 09:37AM

10
#3 - John Braxler / braxler

11/21/2016 at 08:30PM

10
#4 - Shea Martin / sheamus08

11/22/2016 at 04:31AM

10
#5 - Michael Buckley / apolatg

11/23/2016 at 06:05AM

10
#6 - Pablo R. Dinella / pablordinella

11/23/2016 at 07:08PM

10
#7 - Majo / majodurco

11/23/2016 at 08:24PM

10
#8 - Saki Gw / Sakigw

11/25/2016 at 09:28PM

10
#9 - dvorak / dvorak0

11/26/2016 at 11:35AM

10
#10 - Luca Giovagnoli / ryuzaki250

11/26/2016 at 09:40PM

10
#11 - rainer b / roinnerr

12/04/2016 at 09:40PM

10
#12 - Liam S Ismail / AC01Y

12/06/2016 at 03:36PM

10
#13 - YNWP / ynw_P

12/07/2016 at 10:33AM

10
#14 - VivienVandaele / VandaeleVivien

12/10/2016 at 08:51PM

10
#15 - floccwins / floccwins

12/13/2016 at 02:09PM

10
#16 - Andrew Huang / TDAlgory

12/18/2016 at 08:25AM

10
#17 - Pierre Maoui / poupougnac

12/19/2016 at 12:19PM

10
#18 - thejojo87 / thejojo1987

12/21/2016 at 06:47AM

10
#19 - retro / tryphopp

12/23/2016 at 01:29PM

10
#20 - Jake Utley / jakeutley

12/29/2016 at 11:38PM

10
#21 - Saurav Mitra / SauravMitra11

12/31/2016 at 10:40AM

10
#22 - Social Botolinum / SocialBot4

01/08/2017 at 02:45PM

10
#23 - Zhihong Liu / pieapple03

02/03/2017 at 09:11AM

10
#24 - Joaquin Coronel / cantstoptheguac

02/08/2017 at 09:59PM

10
#25 - Le Bray Johan / ShadTheUseless

02/19/2017 at 02:45PM

10
#26 - Dan Prince / danj_prince

02/25/2017 at 01:49AM

10
#27 - Eric Beaudoin / ericlisted

03/13/2017 at 08:28PM

10
#28 - Alexander Bessonov / nonsleepr

03/13/2017 at 09:28PM

10
#29 - Ilya Shakirov / aelaau

03/20/2017 at 09:20AM

10
#30 - Andreas Anderbach / anderbacha

03/20/2017 at 03:42PM