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):
13
#121 - grigouille / grigouille2

07/11/2017 at 11:43AM

13
#122 - Simon Cheng / bambooraccoon

01/26/2018 at 06:22PM

14
#123 - Michiel Bosman / BosmanM

11/25/2016 at 02:41PM

14
#124 - Oskar Norman / Norman0

11/26/2016 at 03:18PM

14
#125 - Ryan Jarrett / texmexas

11/29/2016 at 10:22PM

14
#126 - holy_sin / 0zero0

12/09/2016 at 07:25AM

14
#127 - Craig Langford / cllangfo

12/11/2016 at 12:47PM

14
#128 - Brian Phelps / electronjunkie

12/11/2016 at 08:33PM

14
#129 - Douglas Roper / dougdroper

12/16/2016 at 04:47PM

14
#130 - Mattias GABRIEL / matou008

12/20/2016 at 09:08PM

14
#131 - Andrew Lewis / droosec

12/21/2016 at 05:18PM

14
#132 - frobozz / Frobozzzz

12/28/2016 at 01:35PM

14
#133 - Hans Yelek / hans_yelek

01/09/2017 at 04:48AM

14
#134 - xwle / xwle

03/12/2017 at 10:19AM

14
#135 - Mark Brody / _markbrody

03/23/2017 at 05:21AM

14
#136 - Codingpotato / codingpotato

05/07/2017 at 09:50AM

14
#137 - Jenny Johnson / Kippz07

05/11/2017 at 11:47AM

14
#138 - ʀǟɦʊʟ ɮɦօʟǟ / theRahulBhola

05/26/2017 at 11:38AM

14
#139 - toddagibson / toddagibson

06/07/2017 at 05:38PM

14
#140 - moritz / moritz45081535

06/18/2017 at 03:38PM

14
#141 - Brandon Height / Lask0x

08/08/2017 at 03:46AM

14
#142 - James / Dronak

08/28/2017 at 02:08AM

14
#143 - Graham Bates / gigabates

09/24/2017 at 09:01PM

14
#144 - Mike Harris / MikeMJHarris

11/13/2017 at 03:10PM

14
#145 - z0c / zerocabal

06/06/2018 at 03:15PM

15
#146 - Alex Gunning / XelaGninnug

11/25/2016 at 07:15PM

15
#147 - Ton van den Heuvel / tonheuvel

12/01/2016 at 01:33PM

15
#148 - Mark Badros / mbadros

12/08/2016 at 11:47PM

15
#149 - Matt Walsh / wattmalsh

02/03/2017 at 06:21PM

15
#150 - quex / quex_info

03/17/2017 at 10:39PM