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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

#126 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

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

#132 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

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

0 comments

#134 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

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

0 comments

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

0 comments

Created by: udioica

136 active golfers, 551 entries

Leaderboard (lowest score wins):
18
#1 - Urtica dioica / udioica

03/22/2016 at 04:48AM

18
#2 - John Braxler / braxler

03/24/2016 at 08:36PM

18
#3 - Vaughn Cato / vaughncato

04/04/2016 at 03:59AM

18
#4 - Petro Тrouq / zulolosi

04/30/2016 at 05:17PM

18
#5 - John Goes / johnwgoes

05/03/2016 at 07:42PM

18
#6 - John Doe Sr. / johndoe67890543

05/28/2016 at 04:01PM

18
#7 - Artūras Zakrevskis / AZakrevskis

06/16/2016 at 01:37PM

18
#8 - Arijus / argshook

06/16/2016 at 01:48PM

18
#9 - TaoChen / 632143592Tao

06/17/2016 at 07:32AM

18
#10 - Alonzo / tolver_a

07/23/2016 at 05:51AM

18
#11 - Benjamin Espey / bennyty

07/28/2016 at 02:01PM

18
#12 - jdupont655 / jdupont655

09/02/2016 at 10:07AM

18
#13 - Stephen Aument / saument

09/03/2016 at 03:50AM

18
#14 - hor1ace / hor3ace

09/08/2016 at 09:22AM

18
#15 - loki2441 / loki2441

09/10/2016 at 07:36AM

18
#16 - trx / trxdbg

10/12/2016 at 08:28AM

18
#17 - BlackCap / BlackCapCoder

11/24/2016 at 01:14AM

18
#18 - Abc Def / phweiss1

01/04/2017 at 01:19PM

18
#19 - Zhihong Liu / pieapple03

02/23/2017 at 06:15AM

18
#20 - Ilya Shakirov / aelaau

03/22/2017 at 10:04AM

18
#21 - Colby Hamilton / ColbyHamilton5

05/03/2017 at 07:43PM

18
#22 - Samuel Damashek / SamuelDamashek

05/06/2017 at 03:46AM

18
#23 - Rami Hovi / hacker_lawyer

05/15/2017 at 08:47PM

18
#24 - Melvin Cheung / MelvinCheung

05/25/2017 at 06:40PM

18
#25 - herbage / herbage2

09/17/2017 at 12:01AM

18
#26 - Luke Bryant / LukeBryant55

10/07/2017 at 07:52PM

19
#27 - E Both / enboth

04/13/2016 at 03:35PM

19
#28 - Alexander Bessonov / nonsleepr

03/19/2017 at 08:19PM

19
#29 - 梧桐王子 / WutongYujie

04/30/2017 at 09:59AM

20
#30 - Mister Knister / vimgolf_ctrl_x

03/21/2016 at 03:30PM

20
#31 - Saki Gw / Sakigw

03/23/2016 at 11:45AM

20
#32 - Philiphone / Philiphone

04/02/2016 at 08:45AM

20
#33 - lilach adir / leelaRed

04/03/2016 at 10:54AM

20
#34 - ramandeep randhawa / rsrandhawa

04/10/2016 at 08:38PM

20
#35 - S O / strangelooperer

04/17/2016 at 04:19PM

20
#36 - Luke Powell / luxgladius

05/02/2016 at 08:28PM

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

05/02/2016 at 08:37PM

20
#38 - T. Sakuma / taku39

05/04/2016 at 08:28AM

20
#39 - asdfasdf / asdf80605528

05/29/2016 at 12:46PM

20
#40 - jan sos / jann6373

06/12/2016 at 04:24PM

20
#41 - Gabriel Tailor / gabriel_tailor

06/17/2016 at 03:47AM

20
#42 - Constantine / ConstantineHatz

09/22/2016 at 07:14PM

20
#43 - Bill Ruddock / biinari

10/31/2016 at 04:08AM

20
#44 - retro / tryphopp

11/07/2016 at 09:34AM

20
#45 - Alan Turing / alantrng

11/28/2016 at 11:47PM

20
#46 - setNull / dadaojiemo

02/19/2017 at 02:40PM

20
#47 - Daniel / Daniel00288663

03/22/2017 at 09:22AM

20
#48 - James Houghton / jamesthoughton

05/05/2017 at 07:01PM

20
#49 - Remus Dalrymple / bornintheflames

05/05/2017 at 11:02PM

22
#50 - Tose / Toseim

03/22/2016 at 12:52PM

23
#51 - Cristian Lupașcu / clupasq

03/21/2016 at 08:15AM

23
#52 - glepha / glepha_vim

03/21/2016 at 08:55AM

23
#53 - Lifepillar / lifepillar

03/21/2016 at 01:05PM

23
#54 - Kai Yuan / kentyuan

03/21/2016 at 08:40PM

23
#55 - Walker Boh / walker_boh

03/22/2016 at 10:33AM

23
#56 - Lau Chi Yung / asdsteven2

03/22/2016 at 10:58AM

23
#57 - Oliver Christ / 0liverChrist

03/22/2016 at 01:57PM

23
#58 - Yanis KHORSI / YanisKHORSI

03/23/2016 at 02:15PM

23
#59 - Pierre Stévens / pierre_stv

03/25/2016 at 07:35AM

23
#60 - Roman Degrik / r_Cassum

03/25/2016 at 04:52PM

23
#61 - Smylers / Smylers2

03/29/2016 at 03:12PM

23
#62 - Phan Hai Phong / haiphong_phan

04/13/2016 at 04:24PM

23
#63 - Steven Moazami / mong8se

05/10/2016 at 01:06AM

23
#64 - Ben Hill / KaizenSoze70

05/14/2016 at 04:15PM

23
#65 - Tom / CronutFacts

05/19/2016 at 02:40AM

23
#66 - Taylor Brandstetter / taybrands

05/31/2016 at 06:53PM

23
#67 - Ameen P / Ameen_P1

06/18/2016 at 11:43PM

23
#68 - malet / Malet

06/24/2016 at 04:06PM

23
#69 - tnordloh / tnordloh

06/26/2016 at 11:44PM

23
#70 - Dan Madden / guthran

07/15/2016 at 03:52PM

23
#71 - Jeremiah Goyette / JeremiahGoyette

08/01/2016 at 03:34AM

23
#72 - Will / obiwan__k3n00bi

08/17/2016 at 02:52AM

23
#73 - Yann / yannstadnicki

02/22/2017 at 06:24AM

23
#74 - Jerry Wu / AzureSpectra

05/05/2017 at 07:01PM

23
#75 - Jacob Buete / JBuete

07/02/2017 at 02:32PM

24
#76 - Dimitar Dimitrov / kurkale6ka

03/21/2016 at 10:31AM

24
#77 - Jonathan Taylor / Jonyonson

03/21/2016 at 04:24PM

24
#78 - Blake Tereau / BlakeTereau

03/21/2016 at 08:12PM

24
#79 - Victor Ramirez / virako

03/22/2016 at 02:29PM

24
#80 - Janko Jerinic / JankoJerinic

03/26/2016 at 06:27AM

24
#81 - Simon / 0xa5a5

03/29/2016 at 08:34PM

24
#82 - Patrick Elliott / thatcsguy

03/30/2016 at 11:03PM

24
#83 - Chenut Ludovic / 7Brwa7

04/06/2016 at 08:45AM

24
#84 - Yudi Matsuzake / yudimatsuzake

05/28/2016 at 08:21PM

24
#85 - Etienne Florent / EtienneFlorent

11/23/2016 at 11:49PM

24
#86 - Carl Egbert / CarlOEgbert

06/11/2017 at 11:24PM

25
#87 - kalq / KamilKraszewski

05/15/2016 at 12:24AM

25
#88 - Victorien Lorcy / LorcyVictorien

05/30/2016 at 12:31PM

25
#89 - Vaisian / Vaisian

07/06/2016 at 06:18PM

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

03/26/2016 at 01:27PM

26
#91 - Dan Kilman / dan_kilman

03/26/2016 at 09:31PM

27
#92 - Filippos K. / filkaris

03/21/2016 at 03:47PM

27
#93 - Camron Flanders / camflan

03/24/2016 at 07:48PM

27
#94 - Roland Hougs / OminousWater

03/28/2016 at 09:02PM

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

04/26/2016 at 03:29PM

27
#96 - Ram Tamtam / ramtamtamtam

06/22/2016 at 09:38AM

27
#97 - Gurukandhamoorthi / Gurukandhamoor1

07/10/2017 at 02:45PM

28
#98 - Jan Bundesmann / ixjab

03/21/2016 at 07:51AM

28
#99 - Stephanie Kortig / stephkortig

06/24/2016 at 04:04PM

29
#100 - Adam Sernheim / tradfursten

03/22/2016 at 03:50PM

30
#101 - Jason Choi / joyous_jason

03/22/2016 at 10:14AM

30
#102 - Jake Griffin / J4K0_G

04/21/2016 at 10:28PM

30
#103 - 王运 / 640138017

07/18/2016 at 06:01AM

30
#104 - caplod / caplod

03/26/2017 at 10:33AM

30
#105 - Brian Hall / _bruab_

05/09/2017 at 01:03PM

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

03/21/2016 at 07:32AM

31
#107 - Ryan van Rensburg / rdvr001

07/21/2016 at 07:02AM

31
#108 - macmental / macmental

09/14/2017 at 04:50AM

32
#109 - Yuval Netanel / Yuval5555

04/03/2016 at 09:57AM

32
#110 - Michael Dykman / MichaelDykman

04/27/2016 at 01:45PM

32
#111 - iNaKoll / iNaKoll

05/07/2016 at 05:04PM

32
#112 - FURYROAD☭LIKER🌹 / quiggy

05/19/2016 at 06:47PM

32
#113 - aestetix / aestetix

06/18/2016 at 04:27PM

32
#114 - Artur Kęsik / arturkesik

06/23/2016 at 02:31PM

32
#115 - Sam Hammer / samhammer325

05/06/2017 at 07:48AM

33
#116 - Clémence / Clemence_Neoxia

03/25/2016 at 08:50AM

33
#117 - aisapatino / aisapatino

03/29/2016 at 11:15PM

33
#118 - Fox Wilson / FoxWilson42

05/06/2017 at 03:46AM

34
#119 - Anoop Kumar / anooplive

03/21/2016 at 06:27AM

34
#120 - Omer Lachish / rauchy

04/03/2016 at 10:10AM

34
#121 - matt_todd / matt_todd

04/15/2016 at 11:15PM

35
#122 - TweetDreams / TweetMusicians

10/09/2016 at 03:11AM

35
#123 - John Barbero Unenge / JBarberU

10/19/2016 at 01:13PM

36
#124 - Neelo / Neelo_Bullet

03/21/2016 at 10:09AM

36
#125 - Robin Ramael / RobinRamael

05/30/2016 at 02:33PM

36
#126 - isaneba / isaneba

07/25/2016 at 04:21AM

38
#127 - Henry Dang / henrydangchs

05/15/2016 at 02:50AM

38
#128 - Paul Inc / hiniol1982

09/17/2017 at 05:10PM

39
#129 - Stop and think / ms_uncountable

07/06/2017 at 06:57AM

40
#130 - Jon Barson / jbarson

04/27/2016 at 12:42PM

42
#131 - Hank Chinaski / uktechman

04/22/2016 at 04:40PM

43
#132 - Mike Land / mikepland

03/21/2016 at 05:46AM

43
#133 - Lauren Scott / devdame

03/25/2016 at 07:32PM

43
#134 - Luca Niccolini / lvc4

04/06/2016 at 05:17AM

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

03/23/2016 at 12:56PM

50
#136 - Noah Gumbert / Noahrama

07/01/2016 at 04:43AM