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 56ef78d9f604b51ec4007b8d

Scrambled numbers

Four is NOT 1. One is 1.

Start file
Four is 1.
One is 2.
Five is 3.
Three is 4.
Six is 5.
Two is 6.
End file
One is 1.
Two is 2.
Three is 3.
Four is 4.
Five is 5.
Six is 6.

View Diff

This one's pretty tough!
At least I hope it is.
Before posting, I have an 18.

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 120 remaining solutions by signing in and submitting your own entry
#121 Yuval Netanel / Yuval5555 - Score: 32 - 04/03/16 @ 09:57
vwd4Gvwp<Up>v0p5Gvwp<Down><Left>v0p2Gvwp<Up>0PZZ

0 comments


#122 Michael Dykman / MichaelDykman - Score: 32 - 04/27/16 @ 13:45
:map Q Pldw<CR>+dw-Q3+Q-Q++Q+Q4-PZZ

0 comments


#123 iNaKoll / iNaKoll - Score: 32 - 05/07/16 @ 17:04
diw3jvepkvbp2j0vepjhvbp4kvbp{PZZ

0 comments


#124 quiggy🌹 / quiggy - Score: 32 - 05/19/16 @ 18:47
f1r4jhr1jlr5jlr3jhr6jr2:sor n<CR>ZZ

0 comments


#125 aestetix / aestetix - Score: 32 - 06/18/16 @ 16:27
:map Q Pldw<CR>+dw-Q3+Q-Q++Q+Q4-PZZ

0 comments


#126 Artur Kęsik / arturkesik - Score: 32 - 06/23/16 @ 14:31
diw3jvepkvbp2j0vepjhvbp4kvbp{PZZ

0 comments


#127 Sam Hammer / samhammer325 - Score: 32 - 05/06/17 @ 07:48
vwd4Gvwpkv0p5Gvwpjhv0p2Gvwpk0PZZ

0 comments


#128 Clémence / Clemence_Neoxia - Score: 33 - 03/25/16 @ 08:50
de3jvepkvbp:5<CR>vepj0vep:2<CR>vepk0PZZ

0 comments


#129 aisapatino / aisapatino - Score: 33 - 03/29/16 @ 23:15
f1r4jhr1jlr5jlr3jhr6jr2:sort n<CR>ZZ

0 comments


#130 Fox Wilson / FoxWilson42 - Score: 33 - 05/06/17 @ 03:46
t.r4jhr1jlr5jlr3jhr6jr2:%sor n<CR>ZZ

0 comments


#131 Anoop Kumar / anooplive - Score: 34 - 03/21/16 @ 06:27
ddp2ddpGddHp:%s/\d/\=line('.')/<CR>ZZ

0 comments


#132 Omer Lachish / rauchy - Score: 34 - 04/03/16 @ 10:10
/\d<CR>r4Vdn<C-X>pjnr5Vkdn<C-X>p3n<C-A>nr2Vd1GpZZ

0 comments


#133 matt_todd / matt_todd - Score: 34 - 04/15/16 @ 23:15
jdekvep3jevbpkvbp2j0vepj0vep4k0PZZ

0 comments


#134 TweetDreams / TweetMusicians - Score: 35 - 10/09/16 @ 03:11
de4GP<Right>de-Plde2+Plde+Plde4-Plde-hPZZ

0 comments


#135 John Barbero Unenge / JBarberU - Score: 35 - 10/19/16 @ 13:13
de4ggvePkbveP2jbvePjbveP2ggvep0kPZZ

0 comments


#136 Neelo / Neelo_Bullet - Score: 36 - 03/21/16 @ 10:09
dw3jPldwkPBdB2jPldwj0Pldw2GPldwk0PZZ

0 comments


#137 Robin Ramael / RobinRamael - Score: 36 - 05/30/16 @ 14:33
ddp2ddpGddHp:%s/\d/\=line5<BS>('.')/<CR>ZZ

0 comments


#138 isaneba / isaneba - Score: 36 - 07/25/16 @ 04:21
ddp4Gddggp6Gddggpk<C-X>j4<C-X>j<C-X>jh3<C-A>j2<C-A>jh<C-A>ZZ

0 comments


#139 z0c / zerocabal - Score: 37 - 06/12/18 @ 16:56
dw3jPldWk0PldW5GPldW6GPldw2GPldw1GPZZ

0 comments


#140 Henry Dang / henrydangchs - Score: 38 - 05/15/16 @ 02:50
dw3jPldwk0Pldw2j0Pldwj0Pldw2GPldwk0PZZ

0 comments


#141 Paul Inc / hiniol1982 - Score: 38 - 09/17/17 @ 17:10
:.m4<CR>:6m1<CR>:3m5<CR>/\d<CR>:%s//\=line('.')<CR>ZZ

0 comments


#142 Stop and think / ms_uncountable - Score: 39 - 07/06/17 @ 06:57
dw3jPldwk^Pldwjj^Pldwj^Pldw4k^Pldwk^PZZ

0 comments


#143 Jon Barson / jbarson - Score: 40 - 04/27/16 @ 12:42
dw4ggPldw3ggPldw5ggPldwGPldw2ggPldwggPZZ

0 comments


#144 Hank Chinaski / uktechman - Score: 42 - 04/22/16 @ 16:40
ddp4Gddjpk2dd1Gp$hr2kr13G$hr3jhr4jr5jhr6ZZ

0 comments


#145 Mike Land / mikepland - Score: 43 - 03/21/16 @ 05:46
ddpjjddkkPGdd3kPk<Esc>xu<C-X>j4<C-X>j<C-X>jh3<C-A>j<C-A><C-A>jh<C-A>:w<CR>:wq<CR>

0 comments


#146 Lauren Scott / devdame - Score: 43 - 03/25/16 @ 19:32
ddjjpjjdd3kP$hr2kr1jjddjp$hr5kr4klr33jhr6ZZ

0 comments


#147 Luca Niccolini / lvc4 - Score: 43 - 04/06/16 @ 05:17
3<C-A><Down><Left><C-X><Down>2<C-A><Down>1<C-X><Down><Left><C-A><Down>4<C-X>dd<Up><Up><Up>p<Down><Down>dd<Up><Up>p<Up><Up><Up>dd<Down><Down>p<Esc>:wq<CR>

0 comments


#148 Jeff / RealJeffIrwin - Score: 43 - 12/14/17 @ 20:52
ddjjpGddggpjddjpgg$hr1jr2jllr3jhr4jr5jhr6ZZ

0 comments


#149 Андрей Мерецкий / ____Mouse____ - Score: 47 - 03/23/16 @ 12:56
de4GPlde3GPlde5GPlde6GPlde1GhP0de2GPlde1GhP:wq<CR>

0 comments


#150 Noah Gumbert / Noahrama - Score: 50 - 07/01/16 @ 04:43
dti3jPwdtik0Pld<Esc>2dtijj0Pl2dtij0Pldti2GPldti0kP:wq<CR>

0 comments


Created by: udioica

150 active golfers, 626 entries

Leaderboard (lowest score wins):
32
#121 - Yuval Netanel / Yuval5555

04/03/2016 at 09:57AM

32
#122 - Michael Dykman / MichaelDykman

04/27/2016 at 01:45PM

32
#123 - iNaKoll / iNaKoll

05/07/2016 at 05:04PM

32
#124 - quiggy🌹 / quiggy

05/19/2016 at 06:47PM

32
#125 - aestetix / aestetix

06/18/2016 at 04:27PM

32
#126 - Artur Kęsik / arturkesik

06/23/2016 at 02:31PM

32
#127 - Sam Hammer / samhammer325

05/06/2017 at 07:48AM

33
#128 - Clémence / Clemence_Neoxia

03/25/2016 at 08:50AM

33
#129 - aisapatino / aisapatino

03/29/2016 at 11:15PM

33
#130 - Fox Wilson / FoxWilson42

05/06/2017 at 03:46AM

34
#131 - Anoop Kumar / anooplive

03/21/2016 at 06:27AM

34
#132 - Omer Lachish / rauchy

04/03/2016 at 10:10AM

34
#133 - matt_todd / matt_todd

04/15/2016 at 11:15PM

35
#134 - TweetDreams / TweetMusicians

10/09/2016 at 03:11AM

35
#135 - John Barbero Unenge / JBarberU

10/19/2016 at 01:13PM

36
#136 - Neelo / Neelo_Bullet

03/21/2016 at 10:09AM

36
#137 - Robin Ramael / RobinRamael

05/30/2016 at 02:33PM

36
#138 - isaneba / isaneba

07/25/2016 at 04:21AM

37
#139 - z0c / zerocabal

06/12/2018 at 04:56PM

38
#140 - Henry Dang / henrydangchs

05/15/2016 at 02:50AM

38
#141 - Paul Inc / hiniol1982

09/17/2017 at 05:10PM

39
#142 - Stop and think / ms_uncountable

07/06/2017 at 06:57AM

40
#143 - Jon Barson / jbarson

04/27/2016 at 12:42PM

42
#144 - Hank Chinaski / uktechman

04/22/2016 at 04:40PM

43
#145 - Mike Land / mikepland

03/21/2016 at 05:46AM

43
#146 - Lauren Scott / devdame

03/25/2016 at 07:32PM

43
#147 - Luca Niccolini / lvc4

04/06/2016 at 05:17AM

43
#148 - Jeff / RealJeffIrwin

12/14/2017 at 08:52PM

47
#149 - Андрей Мерецкий / ____Mouse____

03/23/2016 at 12:56PM

50
#150 - Noah Gumbert / Noahrama

07/01/2016 at 04:43AM