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):
18
#31 - BarbaJol / drpproteus

01/07/2018 at 09:43AM

18
#32 - ParasamGateZero / ParasamGateZero

02/10/2018 at 08:24PM

18
#33 - GreenPinguin / GreenPinguin2

04/24/2018 at 10:11AM

18
#34 - 中野 彰 / M__tech

05/31/2018 at 12:32AM

19
#35 - E Both / enboth

04/13/2016 at 03:35PM

19
#36 - Alexander Bessonov / nonsleepr

03/19/2017 at 08:19PM

20
#37 - Mister Knister / vimgolf_ctrl_x

03/21/2016 at 03:30PM

20
#38 - Saki Gw / Sakigw

03/23/2016 at 11:45AM

20
#39 - Philiphone / Philiphone

04/02/2016 at 08:45AM

20
#40 - lilach adir / leelaRed

04/03/2016 at 10:54AM

20
#41 - ramandeep randhawa / rsrandhawa

04/10/2016 at 08:38PM

20
#42 - S O / strangelooperer

04/17/2016 at 04:19PM

20
#43 - Luke Powell / luxgladius

05/02/2016 at 08:28PM

20
#44 - Eero-Antero Säisä / jakolasku

05/02/2016 at 08:37PM

20
#45 - T. Sakuma / taku39

05/04/2016 at 08:28AM

20
#46 - asdfasdf / asdf80605528

05/29/2016 at 12:46PM

20
#47 - jan sos / jann6373

06/12/2016 at 04:24PM

20
#48 - Gabriel Tailor / gabriel_tailor

06/17/2016 at 03:47AM

20
#49 - Constantine / ConstantineHatz

09/22/2016 at 07:14PM

20
#50 - Bill Ruddock / biinari

10/31/2016 at 04:08AM

20
#51 - retro / tryphopp

11/07/2016 at 09:34AM

20
#52 - Alan Turing / alantrng

11/28/2016 at 11:47PM

20
#53 - setNull / dadaojiemo

02/19/2017 at 02:40PM

20
#54 - Daniel / Daniel00288663

03/22/2017 at 09:22AM

20
#55 - James Houghton / jamesthoughton

05/05/2017 at 07:01PM

20
#56 - Remus Dalrymple / bornintheflames

05/05/2017 at 11:02PM

22
#57 - Tose / Toseim

03/22/2016 at 12:52PM

23
#58 - Cristian Lupașcu / clupasq

03/21/2016 at 08:15AM

23
#59 - glepha / glepha_vim

03/21/2016 at 08:55AM

23
#60 - Lifepillar / lifepillar

03/21/2016 at 01:05PM