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 583112d0215b7c3ed2016bdb

Order and join

There's something special about the input order.

Start file
four
one
two
five
three
six
End file
one two three
four five
six

View Diff

You're one of the proud few who checks the diff. Have a hint.

10 strokes. Probably.

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 135 remaining solutions by signing in and submitting your own entry
#136 Codingpotato / codingpotato - Score: 14 - 05/07/17 @ 09:50
ddJpJjddkPkJZZ

0 comments


#137 Jenny Johnson / Kippz07 - Score: 14 - 05/11/17 @ 11:47
ddJpJjddkPkJZZ

0 comments


#138 ʀǟɦʊʟ ɮɦօʟǟ / theRahulBhola - Score: 14 - 05/26/17 @ 11:38
ddjpJddp1GJJZZ

0 comments


#139 toddagibson / toddagibson - Score: 14 - 06/07/17 @ 17:38
jJddpJ1GJddpZZ

0 comments


#140 moritz / moritz45081535 - Score: 14 - 06/18/17 @ 15:38
:m3<CR>Jddpgg3JZZ

0 comments


#141 Brandon Height / Lask0x - Score: 14 - 08/08/17 @ 03:46
:m3<CR>JddpggJJZZ

0 comments


#142 James / Dronak - Score: 14 - 08/28/17 @ 02:08
ddJpJjddkPkJZZ

0 comments


#143 Graham Bates / gigabates - Score: 14 - 09/24/17 @ 21:01
ddJpJjddkPkJZZ

0 comments


#144 Mike Harris / MikeMJHarris - Score: 14 - 11/13/17 @ 15:10
:m3<CR>Jddpgg3JZZ

0 comments


#145 z0c / zerocabal - Score: 14 - 06/06/18 @ 15:15
:m3<CR>JddpggJJZZ

0 comments


#146 Alex Gunning / XelaGninnug - Score: 15 - 11/25/16 @ 19:15
ddJpJjddggpkJZZ

0 comments


#147 Ton van den Heuvel / tonheuvel - Score: 15 - 12/01/16 @ 13:33
ddjpdjpggJJjJZZ

0 comments


#148 Mark Badros / mbadros - Score: 15 - 12/08/16 @ 23:47
ddJpJjddggpkJZZ

0 comments


#149 Matt Walsh / wattmalsh - Score: 15 - 02/03/17 @ 18:21
ddJpJjddggpkJZZ

0 comments


#150 quex / quex_info - Score: 15 - 03/17/17 @ 22:39
jJVdjPJddggJPZZ

0 comments


#151 Niru Maheswaranathan / niru_m - Score: 16 - 11/20/16 @ 03:41
ddJpJjddgg$pkJZZ

0 comments


#152 Mick Killianey / mkillianey - Score: 16 - 12/27/16 @ 20:31
ddJpJddp<Up><Up>J<Esc>:wq<CR>

0 comments


#153 Valacar / valacar - Score: 16 - 01/18/17 @ 02:47
:m3|j|m+|0,3j|x<CR>

0 comments


#154 Paul Inc / hiniol1982 - Score: 16 - 08/15/17 @ 16:10
:m3<CR>J:m4<CR>k<C-V>ggJZZ

0 comments


#155 GVest Two / GvestTwo - Score: 17 - 03/23/17 @ 07:18
ddjjPJjddkPkkJJZZ

0 comments


#156 Gurukandhamoorthi / Gurukandhamoor1 - Score: 17 - 07/10/17 @ 12:45
ddGPkkddGPkJH3JZZ

0 comments


#157 myjunkmails / myjunkmails - Score: 18 - 11/24/16 @ 05:09
ddJjPJjddkPkJ<Esc>:wq<CR>

0 comments


#158 Daniel / 0x9ABC - Score: 18 - 08/18/17 @ 16:37
:m3<CR>:5m2<CR>V{JjVjJZZ

0 comments


#159 John Mahowald / JohnMahowald - Score: 19 - 11/22/16 @ 22:33
ddjpjjddkkJkpkkJJZZ

0 comments


#160 Tim Simislu / AvianYo - Score: 19 - 12/11/16 @ 09:54
JJJbbd2wjbPddkP:wq<CR>

0 comments


#161 lpag / lpag_ai - Score: 19 - 06/25/17 @ 22:58
ddjpjjddkkPkkJJjJZZ

0 comments


#162 Jeff / RealJeffIrwin - Score: 19 - 10/09/17 @ 18:47
dd3jpkkddjpggJJjJZZ

0 comments


#163 Clémence / Clemence_Neoxia - Score: 19 - 02/02/18 @ 10:39
ddjpjjdd2kPggJJjJZZ

0 comments


#164 TiByte / tibyte - Score: 22 - 11/20/16 @ 12:49
jJjj:m-1<BS>2<CR>kJ:m-2<CR>jJZZ

0 comments


#165 Adi Ron / notadiron - Score: 22 - 03/10/17 @ 15:50
<Tab>jVjdkP4jdd2kPggJJjJZZ

0 comments


#166 Chris Jewell 🏳️‍🌈 / knightstickc - Score: 23 - 11/21/16 @ 02:38
ddjp2jdd2kPkkJJjJ<C-C><C-C>:wq<CR>

0 comments


#167 Adam Kożuch / adamkozuch - Score: 23 - 04/06/17 @ 08:14
ddjpjjddkkkpjJkkkJJ:wq<CR>

0 comments


#168 Cù Hữu Hoàng / Cuhuuhoang - Score: 32 - 02/14/17 @ 15:04
:m 3<CR>Jj.u:m 3<CR>:m 2<CR>2j2k2k2JJ:wq<CR>

0 comments


#169 shellfire32 / shellfire32 - Score: 71 - 11/25/16 @ 13:54
hggjji<BS> <Esc>kklljjjhhhkxxuuddj?<Esc><Esc>pujkppuki<BS> <Esc>hhhhhhhkddjpkxxuuddpi<BS> <Esc>;:wq<CR>

0 comments


Created by: udioica

169 active golfers, 580 entries

Leaderboard (lowest score wins):
12
#91 - Cristian Lupașcu / clupasq

11/20/2016 at 10:01AM

12
#92 - thialfihar / thialfihar

11/20/2016 at 10:19AM

12
#93 - Eduardo / earada

11/20/2016 at 02:33PM

12
#94 - fx32gamer / fx32gamer

11/20/2016 at 07:00PM

12
#95 - Lifepillar / lifepillar

11/21/2016 at 06:10AM

12
#96 - Maxime Reis / MaximeReis

11/21/2016 at 03:11PM

12
#97 - Raphel Yao / aristotll

11/24/2016 at 03:12AM

12
#98 - Bart / oneofmanybarts

11/25/2016 at 09:15AM

12
#99 - Jasbir Singh / jasbirsingh11

11/26/2016 at 03:38AM

12
#100 - janusz janusz / januszjanusz20

12/15/2016 at 07:35PM

12
#101 - Marcel Akkerman / MarcelAkkerman

12/21/2016 at 11:42AM

12
#102 - Jan Eisenhauer / EisenhauerJan

12/22/2016 at 02:13AM

12
#103 - YAMADA Yukimi / edp02

01/01/2017 at 03:19PM

12
#104 - Bill Ruddock / biinari

01/25/2017 at 02:53PM

12
#105 - Raymond Chee / rchomium

03/04/2017 at 11:50PM

12
#106 - Doug / AsnoGordo

08/12/2017 at 06:12AM

12
#107 - Austin Ware / AustinWare17

03/20/2018 at 04:37AM

12
#108 - Jonathan Camilleri / Too_Many_Taken

05/26/2018 at 01:32PM

13
#109 - tPenguinLTG / tpenguinltg

11/20/2016 at 05:22AM

13
#110 - Suresh G / sureshggg

11/20/2016 at 06:38AM

13
#111 - Defts = DvToons / defts

11/21/2016 at 08:21AM

13
#112 - Rodney Visser / _Radnus

11/21/2016 at 09:14PM

13
#113 - Jon Louie / jjisnow

11/23/2016 at 01:02PM

13
#114 - Михаил Доронин / Boris_B_London

11/24/2016 at 08:06AM

13
#115 - captain_morgan / captain_morgan

11/27/2016 at 05:27PM

13
#116 - Никита Канунников / NIikitaK

12/04/2016 at 11:54AM

13
#117 - Air Quality Test 8 / AirQualityTest8

01/15/2017 at 07:12PM

13
#118 - caplod / caplod

03/25/2017 at 10:39AM

13
#119 - Pratik Prasad / pratik

05/01/2017 at 06:39PM

13
#120 - Jerry Wu / AzureSpectra

05/05/2017 at 10:52PM