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 113 remaining solutions by signing in and submitting your own entry
#114 Mark Brody / _markbrody - Score: 14 - 03/23/17 @ 05:21
ddJpJjddkPkJZZ

0 comments

#115 Codingpotato / codingpotato - Score: 14 - 05/07/17 @ 09:50
ddJpJjddkPkJZZ

0 comments

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

0 comments

#117 rahul bhola / theRahulBhola - Score: 14 - 05/26/17 @ 11:38
ddjpJddp1GJJZZ

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

#139 Chris Jewell / knightstickc - Score: 23 - 11/21/16 @ 02:38
ddjp2jdd2kPkkJJjJ<C-C><C-C>:wq<CR>

0 comments

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

0 comments

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

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

142 active golfers, 464 entries

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

11/21/2016 at 03:38AM

10
#2 - Smylers / Smylers2

11/21/2016 at 09:37AM

10
#3 - John Braxler / braxler

11/21/2016 at 08:30PM

10
#4 - Shea Martin / sheamus08

11/22/2016 at 04:31AM

10
#5 - Michael Buckley / apolatg

11/23/2016 at 06:05AM

10
#6 - Pablo R. Dinella / pablordinella

11/23/2016 at 07:08PM

10
#7 - Majo / majodurco

11/23/2016 at 08:24PM

10
#8 - Saki Gw / Sakigw

11/25/2016 at 09:28PM

10
#9 - dvorak / dvorak0

11/26/2016 at 11:35AM

10
#10 - Luca Giovagnoli / ryuzaki250

11/26/2016 at 09:40PM

10
#11 - rainer b / roinnerr

12/04/2016 at 09:40PM

10
#12 - Liam S Ismail / AC01Y

12/06/2016 at 03:36PM

10
#13 - YNWP / ynw_P

12/07/2016 at 10:33AM

10
#14 - VivienVandaele / VandaeleVivien

12/10/2016 at 08:51PM

10
#15 - floccwins / floccwins

12/13/2016 at 02:09PM

10
#16 - Andrew Huang / TDAlgory

12/18/2016 at 08:25AM

10
#17 - Pierre Maoui / poupougnac

12/19/2016 at 12:19PM

10
#18 - thejojo87 / thejojo1987

12/21/2016 at 06:47AM

10
#19 - retro / tryphopp

12/23/2016 at 01:29PM

10
#20 - Jake Utley / jakeutley

12/29/2016 at 11:38PM

10
#21 - Saurav Mitra / SauravMitra11

12/31/2016 at 10:40AM

10
#22 - Social Botolinum / SocialBot4

01/08/2017 at 02:45PM

10
#23 - Zhihong Liu / pieapple03

02/03/2017 at 09:11AM

10
#24 - Joaquin Coronel / joakonumberone

02/08/2017 at 09:59PM

10
#25 - Le Bray Johan / ShadTheUseless

02/19/2017 at 02:45PM

10
#26 - Dan Prince / danj_prince

02/25/2017 at 01:49AM

10
#27 - Eric Beaudoin / ericlisted

03/13/2017 at 08:28PM

10
#28 - Alexander Bessonov / nonsleepr

03/13/2017 at 09:28PM

10
#29 - Ilya Shakirov / aelaau

03/20/2017 at 09:20AM

10
#30 - Andreas Anderbach / anderbacha

03/20/2017 at 03:42PM

10
#31 - Tom BP / ThosBP

04/20/2017 at 02:22PM

10
#32 - 梧桐王子 / WutongYujie

04/25/2017 at 03:21AM

10
#33 - Chris Robertson / chrisxrobertson

05/04/2017 at 07:38AM

10
#34 - Melvin Cheung / MelvinCheung

05/23/2017 at 03:50AM

10
#35 - BlackCap / BlackCapCoder

05/24/2017 at 07:03PM

10
#36 - David Gustavsson / mrGustaphe

06/09/2017 at 11:54AM

10
#37 - Joel Meyer-Hamme / JoelMeyerHamme

06/21/2017 at 02:03PM

10
#38 - huho / huho_xu

08/09/2017 at 07:58PM

10
#39 - 杨洋 / 176795444

08/14/2017 at 12:08PM

11
#40 - Kerson Hsiao / KersonHsiao

11/20/2016 at 01:29PM

11
#41 - Stanislav / prstad

11/20/2016 at 09:24PM

11
#42 - Jon Krause / jkrause314

11/20/2016 at 09:33PM

11
#43 - Roger Guldbrandsen / kinbiko

11/29/2016 at 10:49PM

11
#44 - th / tithrx

12/02/2016 at 09:27AM

11
#45 - えるざっぷ / _elzup_

12/03/2016 at 02:56AM

11
#46 - Sergey Alekhnovich / salekhn

12/03/2016 at 07:32PM

11
#47 - John / amazeQuaternio

12/04/2016 at 10:56AM

11
#48 - Markus Flatscher / mflat

12/05/2016 at 01:35AM

11
#49 - Victor Chibotaru / tch1bo

12/05/2016 at 01:59PM

11
#50 - FakeJake / TehRealFakeJake

12/09/2016 at 09:00PM

11
#51 - herbage / herbage2

12/11/2016 at 01:27PM

11
#52 - Carbage Gollector / CarbageG

12/14/2016 at 01:55AM

11
#53 - Michał Dytko / DytkoM

12/16/2016 at 09:16AM

11
#54 - chocolate / chocola81394123

12/19/2016 at 07:24PM

11
#55 - さよきみ / MrIn1121

12/23/2016 at 03:27PM

11
#56 - Marcin / Marcin89439917

12/30/2016 at 11:22PM

11
#57 - Patrick Sanan / patricksanan

01/07/2017 at 10:45AM

11
#58 - setNull / dadaojiemo

02/10/2017 at 02:04AM

11
#59 - Petro Тrouq / zulolosi

02/12/2017 at 06:45PM

11
#60 - Yann / yannstadnicki

02/19/2017 at 11:02AM

11
#61 - Daniel Hjelm / dhjelm

03/15/2017 at 10:06AM

11
#62 - Daniel / Daniel00288663

03/17/2017 at 08:23AM

11
#63 - Zachary Neubert / Mr_Saturn16347

03/24/2017 at 12:59AM

11
#64 - Kevin Ash / ashkevinm

04/12/2017 at 03:21PM

11
#65 - Alex Linden / alexwlinden1

04/18/2017 at 03:43PM

11
#66 - Brian Hall / _bruab_

04/27/2017 at 01:09PM

11
#67 - Russell Ball / rtball2

05/09/2017 at 02:19PM

11
#68 - jakeroberts / jakeroberts

05/16/2017 at 01:59PM

11
#69 - Ben Hill / KaizenSoze70

06/30/2017 at 06:20PM

11
#70 - Stop and think / ms_uncountable

07/08/2017 at 05:06AM

12
#71 - Vaughn Cato / vaughncato

11/20/2016 at 05:33AM

12
#72 - Anoop Kumar / anooplive

11/20/2016 at 08:34AM

12
#73 - Cristian Lupașcu / clupasq

11/20/2016 at 10:01AM

12
#74 - thialfihar / thialfihar

11/20/2016 at 10:19AM

12
#75 - Eduardo / earada

11/20/2016 at 02:33PM

12
#76 - fx32gamer / fx32gamer

11/20/2016 at 07:00PM

12
#77 - Lifepillar / lifepillar

11/21/2016 at 06:10AM

12
#78 - Maxime Reis / MaximeReis

11/21/2016 at 03:11PM

12
#79 - Raphel Yao / aristotll

11/24/2016 at 03:12AM

12
#80 - Bart / oneofmanybarts

11/25/2016 at 09:15AM

12
#81 - Jasbir Singh / jasbirsingh11

11/26/2016 at 03:38AM

12
#82 - janusz janusz / januszjanusz20

12/15/2016 at 07:35PM

12
#83 - Marcel Akkerman / MarcelAkkerman

12/21/2016 at 11:42AM

12
#84 - Jan Eisenhauer / EisenhauerJan

12/22/2016 at 02:13AM

12
#85 - YAMADA Yukimi / edp02

01/01/2017 at 03:19PM

12
#86 - Bill Ruddock / biinari

01/25/2017 at 02:53PM

12
#87 - Raymond Chee / rchomium

03/04/2017 at 11:50PM

12
#88 - Doug / AsnoGordo

08/12/2017 at 06:12AM

13
#89 - tPenguinLTG / tpenguinltg

11/20/2016 at 05:22AM

13
#90 - Suresh G / sureshggg

11/20/2016 at 06:38AM

13
#91 - Defts = DvToons / defts

11/21/2016 at 08:21AM

13
#92 - Rodney Visser / _Radnus

11/21/2016 at 09:14PM

13
#93 - Jon Louie / jjisnow

11/23/2016 at 01:02PM

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

11/24/2016 at 08:06AM

13
#95 - captain_morgan / captain_morgan

11/27/2016 at 05:27PM

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

12/04/2016 at 11:54AM

13
#97 - Air Quality Test 8 / AirQualityTest8

01/15/2017 at 07:12PM

13
#98 - caplod / caplod

03/25/2017 at 10:39AM

13
#99 - Pratik Prasad / pratik

05/01/2017 at 06:39PM

13
#100 - Jerry Wu / AzureSpectra

05/05/2017 at 10:52PM

13
#101 - grigouille / grigouille2

07/11/2017 at 11:43AM

14
#102 - Michiel Bosman / BosmanM

11/25/2016 at 02:41PM

14
#103 - Oskar Norman / Norman0

11/26/2016 at 03:18PM

14
#104 - Ryan Jarrett / texmexas

11/29/2016 at 10:22PM

14
#105 - holy_sin / 0zero0

12/09/2016 at 07:25AM

14
#106 - Craig Langford / cllangfo

12/11/2016 at 12:47PM

14
#107 - Brian Phelps / electronjunkie

12/11/2016 at 08:33PM

14
#108 - Douglas Roper / dougdroper

12/16/2016 at 04:47PM

14
#109 - Mattias GABRIEL / matou008

12/20/2016 at 09:08PM

14
#110 - Andrew Lewis / droosec

12/21/2016 at 05:18PM

14
#111 - frobozz / Frobozzzz

12/28/2016 at 01:35PM

14
#112 - Hans Yelek / hans_yelek

01/09/2017 at 04:48AM

14
#113 - xwle / xwle

03/12/2017 at 10:19AM

14
#114 - Mark Brody / _markbrody

03/23/2017 at 05:21AM

14
#115 - Codingpotato / codingpotato

05/07/2017 at 09:50AM

14
#116 - Jenny Johnson / Kippz07

05/11/2017 at 11:47AM

14
#117 - rahul bhola / theRahulBhola

05/26/2017 at 11:38AM

14
#118 - toddagibson / toddagibson

06/07/2017 at 05:38PM

14
#119 - moritz / moritz45081535

06/18/2017 at 03:38PM

14
#120 - Brandon Height / Lask0x

08/08/2017 at 03:46AM

15
#121 - Alex Gunning / XelaGninnug

11/25/2016 at 07:15PM

15
#122 - Ton van den Heuvel / tonheuvel

12/01/2016 at 01:33PM

15
#123 - Mark Badros / mbadros

12/08/2016 at 11:47PM

15
#124 - Matt Walsh / wattmalsh

02/03/2017 at 06:21PM

15
#125 - quex / quex_info

03/17/2017 at 10:39PM

16
#126 - Niru Maheswaranathan / niru_m

11/20/2016 at 03:41AM

16
#127 - Mick Killianey / mkillianey

12/27/2016 at 08:31PM

16
#128 - Valacar / valacar

01/18/2017 at 02:47AM

16
#129 - Paul Inc / hiniol1982

08/15/2017 at 04:10PM

17
#130 - GVest Two / GvestTwo

03/23/2017 at 07:18AM

17
#131 - Gurukandhamoorthi / Gurukandhamoor1

07/10/2017 at 12:45PM

18
#132 - myjunkmails / myjunkmails

11/24/2016 at 05:09AM

18
#133 - Daniel / 0x9ABC

08/18/2017 at 04:37PM

19
#134 - John Mahowald / JohnMahowald

11/22/2016 at 10:33PM

19
#135 - Tim Simislu / AvianYo

12/11/2016 at 09:54AM

19
#136 - lpag / lpag_ai

06/25/2017 at 10:58PM

22
#137 - TiByte / tibyte

11/20/2016 at 12:49PM

22
#138 - Adi Ron / notadiron

03/10/2017 at 03:50PM

23
#139 - Chris Jewell / knightstickc

11/21/2016 at 02:38AM

23
#140 - Adam Kożuch / adamkozuch

04/06/2017 at 08:14AM

32
#141 - Cù Hữu Hoàng / Cuhuuhoang

02/14/2017 at 03:04PM

71
#142 - shellfire32 / shellfire32

11/25/2016 at 01:54PM