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):
24
#91 - Yudi Matsuzake / yudimatsuzake

05/28/2016 at 08:21PM

24
#92 - Etienne Florent / EtienneFlorent

11/23/2016 at 11:49PM

24
#93 - Carl Egbert / CarlOEgbert

06/11/2017 at 11:24PM

24
#94 - DHM / DHM29978992

04/24/2018 at 01:15AM

24
#95 - Daniël De Koker / daniel_koker

06/14/2018 at 10:56AM

25
#96 - kalq / KamilKraszewski

05/15/2016 at 12:24AM

25
#97 - Victorien Lorcy / LorcyVictorien

05/30/2016 at 12:31PM

25
#98 - Vaisian / Vaisian

07/06/2016 at 06:18PM

26
#99 - Carlos A Henríquez Q / lagunex

03/26/2016 at 01:27PM

26
#100 - Dan Kilman / dan_kilman

03/26/2016 at 09:31PM

26
#101 - Jonathan Camilleri / Too_Many_Taken

05/29/2018 at 04:00PM

27
#102 - Filippos K. / filkaris

03/21/2016 at 03:47PM

27
#103 - Camron Flanders / camflan

03/24/2016 at 07:48PM

27
#104 - Roland Hougs / OminousWater

03/28/2016 at 09:02PM

27
#105 - Håkon Bråten / h_braten

04/26/2016 at 03:29PM

27
#106 - Ram Tamtam / ramtamtamtam

06/22/2016 at 09:38AM

27
#107 - Gurukandhamoorthi / Gurukandhamoor1

07/10/2017 at 02:45PM

28
#108 - Jan Bundesmann / ixjab

03/21/2016 at 07:51AM

28
#109 - Stephanie Kortig / stephkortig

06/24/2016 at 04:04PM

29
#110 - Adam Sernheim / tradfursten

03/22/2016 at 03:50PM

30
#111 - Jason Choi / joyous_jason

03/22/2016 at 10:14AM

30
#112 - Jake Griffin / J4K0_G

04/21/2016 at 10:28PM

30
#113 - 王运 / 640138017

07/18/2016 at 06:01AM

30
#114 - caplod / caplod

03/26/2017 at 10:33AM

30
#115 - Brian Hall / _bruab_

05/09/2017 at 01:03PM

30
#116 - Paul Draghicescu / pdragy

03/22/2018 at 11:54PM

31
#117 - Rubén Chavarría T. / rchavarriat

03/21/2016 at 07:32AM

31
#118 - Ryan van Rensburg / rdvr001

07/21/2016 at 07:02AM

31
#119 - macmental / macmental

09/14/2017 at 04:50AM

31
#120 - c0llision / 0xc0llision

04/17/2018 at 09:27PM