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):
23
#61 - Kai Yuan / kentyuan

03/21/2016 at 08:40PM

23
#62 - Walker Boh / walker_boh

03/22/2016 at 10:33AM

23
#63 - Lau Chi Yung / asdsteven2

03/22/2016 at 10:58AM

23
#64 - Oliver Christ / 0liverChrist

03/22/2016 at 01:57PM

23
#65 - Yanis KHORSI / YanisKHORSI

03/23/2016 at 02:15PM

23
#66 - Pierre Stévens / pierre_stv

03/25/2016 at 07:35AM

23
#67 - Roman Degrik / r_Cassum

03/25/2016 at 04:52PM

23
#68 - Smylers / Smylers2

03/29/2016 at 03:12PM

23
#69 - Phan Hai Phong / haiphong_phan

04/13/2016 at 04:24PM

23
#70 - Steven Moazami / mong8se

05/10/2016 at 01:06AM

23
#71 - Ben Hill / KaizenSoze70

05/14/2016 at 04:15PM

23
#72 - Tom / CronutFacts

05/19/2016 at 02:40AM

23
#73 - Taylor Brandstetter / taybrands

05/31/2016 at 06:53PM

23
#74 - Ameen P / Ameen_P1

06/18/2016 at 11:43PM

23
#75 - malet / Malet

06/24/2016 at 04:06PM

23
#76 - Timothy Caleb Nordlo / tnordloh

06/26/2016 at 11:44PM

23
#77 - Dan Madden / guthran

07/15/2016 at 03:52PM

23
#78 - Jeremiah Goyette / JeremiahGoyette

08/01/2016 at 03:34AM

23
#79 - Will / obiwan__k3n00bi

08/17/2016 at 02:52AM

23
#80 - Yann / yannstadnicki

02/22/2017 at 06:24AM

23
#81 - Jerry Wu / AzureSpectra

05/05/2017 at 07:01PM

23
#82 - Jacob Buete / JBuete

07/02/2017 at 02:32PM

24
#83 - Dimitar Dimitrov / kurkale6ka

03/21/2016 at 10:31AM

24
#84 - Jonathan Taylor / Jonyonson

03/21/2016 at 04:24PM

24
#85 - Blake Tereau / BlakeTereau

03/21/2016 at 08:12PM

24
#86 - Victor Ramirez / virako

03/22/2016 at 02:29PM

24
#87 - Janko Jerinic / JankoJerinic

03/26/2016 at 06:27AM

24
#88 - Simon / 0xa5a5

03/29/2016 at 08:34PM

24
#89 - Patrick Elliott / thatcsguy

03/30/2016 at 11:03PM

24
#90 - Chenut Ludovic / 7Brwa7

04/06/2016 at 08:45AM