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 4f99b09353e306000100003f

The meaning

Numbers are fun!

Start file
My favourite number is 24
End file
My favourite number is 42

View Diff

1c1
< My favourite number is 24
---
> My favourite number is 42

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 245 remaining solutions by signing in and submitting your own entry
#246 kimber gonzalez / kimberlycreates - Score: 5 - 02/06/15 @ 19:49
18<C-A>ZZ

0 comments


#247 TheProgrammer971 / tp971 - Score: 5 - 03/14/15 @ 15:46
$xPZZ

0 comments


#248 Alexander Kazakov / volandkot - Score: 5 - 04/03/15 @ 13:17
$xPZZ

0 comments


#249 Adrien Fabre / statox42 - Score: 5 - 05/24/15 @ 18:37
$xPZZ

0 comments


#250 Hendrik Lammers / hendriklammers - Score: 5 - 06/01/15 @ 19:18
$xPZZ

0 comments


#251 Joel Gallant / joelg236 - Score: 5 - 07/12/15 @ 15:01
18<C-A>ZZ

0 comments


#252 Ásgeir Bjarnason / abjarnasn - Score: 5 - 07/25/15 @ 22:47
$xPZZ

0 comments


#253 Lifepillar / lifepillar - Score: 5 - 08/28/15 @ 13:07
18<C-A>ZZ

0 comments


#254 Dan Moldovan / Lenea92 - Score: 5 - 09/01/15 @ 12:43
18<C-A>ZZ

0 comments


#255 Gerald Tilma / GeraldTilma - Score: 5 - 10/22/15 @ 02:57
$xPZZ

0 comments


#256 Jon Krause / jkrause314 - Score: 5 - 01/20/16 @ 19:02
$xPZZ

0 comments


#257 Etienne Tremel / etiennetremel - Score: 5 - 02/09/16 @ 21:53
18<C-A>ZZ

0 comments


#258 tPenguinLTG / tpenguinltg - Score: 5 - 05/13/16 @ 03:38
$xPZZ

0 comments


#259 some call me mattp / mattpep - Score: 5 - 05/19/16 @ 22:09
$xPZZ

0 comments


#260 Will / obiwan__k3n00bi - Score: 5 - 08/23/16 @ 01:28
18<C-A>ZZ

0 comments


#261 Kyouma / kyoumaJohn - Score: 5 - 10/15/16 @ 13:05
$xPZZ

0 comments


#262 Michał Dytko / DytkoM - Score: 5 - 12/29/16 @ 13:09
$xPZZ

0 comments


#263 Yann / yannstadnicki - Score: 5 - 03/01/17 @ 01:33
$XpZZ

0 comments


#264 Daniel / Daniel00288663 - Score: 5 - 04/03/17 @ 11:11
$xPZZ

0 comments


#265 Florian Gauger / FlorianGauger - Score: 5 - 06/06/17 @ 01:10
$xPZZ

0 comments


#266 Gurukandhamoorthi / Gurukandhamoor1 - Score: 5 - 07/23/17 @ 14:55
$XpZZ

0 comments


#267 Brandon Height / Lask0x - Score: 5 - 08/08/17 @ 23:03
$xPZZ

0 comments


#268 Bhatta Sushmith / bsushmith - Score: 5 - 08/23/17 @ 20:14
$xPZZ

0 comments


#269 Brandon Blakeley / zkelvin - Score: 5 - 11/25/17 @ 07:07
$XpZZ

0 comments


#270 Turkey Man / lvturkeyman - Score: 5 - 11/26/17 @ 09:17
18<C-A>ZZ

0 comments


#271 Andrei Gasparovici / agasparovici - Score: 5 - 12/02/17 @ 12:10
$xPZZ

0 comments


#272 BarbaJol / drpproteus - Score: 5 - 01/04/18 @ 13:25
$xPZZ

0 comments


#273 martin tourneboeuf / martintournebo1 - Score: 5 - 02/05/18 @ 19:38
$xPZZ

0 comments


#274 Pavol Slamka / Archipedes - Score: 5 - 03/11/18 @ 14:59
$XpZZ

0 comments


#275 Austin Ware / AustinWare17 - Score: 5 - 03/13/18 @ 02:53
$XpZZ

0 comments


#276 Paul Draghicescu / pdragy - Score: 5 - 03/22/18 @ 22:05
$xPZZ

0 comments


#277 DHM / DHM29978992 - Score: 5 - 05/01/18 @ 01:55
18<C-A>ZZ

0 comments


#278 Gatlee / gatmek - Score: 5 - 05/06/18 @ 14:07
$xPZZ

0 comments


#279 Maciej Litwiniuk / mlitwiniuk - Score: 6 - 04/26/12 @ 20:49
$hxpZZ

0 comments


#280 Kiyu Gabriel / qzg - Score: 6 - 04/28/12 @ 05:53
$xP<Esc>ZZ

0 comments


#281 Alfredo Di Napoli / alfredodinapoli - Score: 6 - 04/28/12 @ 16:32
18<C-A>:x<CR>

0 comments


#282 ろひの宮@長崎市 / rohinomiya - Score: 6 - 05/01/12 @ 10:19
<CR>$XpZZ

0 comments


#283 Michał Jarosz / mchlpl - Score: 6 - 05/01/12 @ 14:37
<End>x<Left>pZZ

0 comments


#284 J Paul Daigle / philosodad - Score: 6 - 05/23/12 @ 18:40
f2xpZZ

0 comments


#285 Gowtham Madhava / gowthamgowtham - Score: 6 - 07/02/12 @ 17:00
f2xpZZ

0 comments


#286 Eric Söderström / eksoderstrom - Score: 6 - 07/20/12 @ 15:55
f2xpZZ

0 comments


#287 Pradeep Kumar / pradeep6kumar - Score: 6 - 12/12/12 @ 11:10
$hxpZZ

0 comments


#288 Edward Banner / EdwardBanner - Score: 6 - 05/01/13 @ 00:19
f2xpZZ

0 comments


#289 SayreBlades / SayreBlades - Score: 6 - 07/16/13 @ 13:09
f2xpZZ

0 comments


#290 Tullio Facchinetti / toolleeo - Score: 6 - 07/25/13 @ 21:03
f2xpZZ

0 comments


#291 Bart of Denver / bartofdenver - Score: 6 - 08/12/13 @ 22:43
f2xpZZ

0 comments


#292 Hachez Floran / FloranHachez - Score: 6 - 09/05/13 @ 09:36
<CR>18<C-A>ZZ

0 comments


#293 wilddog64 / chengkai318 - Score: 6 - 12/24/13 @ 03:24
f2xpZZ

0 comments


#294 jgpaiva / jgpaiva - Score: 6 - 01/31/14 @ 18:27
f2xpZZ

0 comments


#295 ɐʇnɥsɐpoʇ / todashuta - Score: 6 - 03/26/15 @ 07:41
f2xpZZ

0 comments


#296 Nate75Sanders / Nate75Sanders - Score: 6 - 10/01/15 @ 05:21
f2xpZZ

0 comments


#297 vall / provall1 - Score: 7 - 05/04/12 @ 12:49
$xi4<Esc>ZZ

0 comments


#298 Underhill Labs / underhilllabs - Score: 7 - 11/01/12 @ 05:49
$xi4<Esc>ZZ

0 comments


#299 CHIP CASTLE / chipcastle - Score: 7 - 12/27/13 @ 04:56
$xhp:x<CR>

0 comments


#300 a / tztape - Score: 8 - 04/29/12 @ 19:05
18<C-A>:wq<NL>

0 comments


#301 trq / tonyrq - Score: 8 - 05/01/12 @ 12:22
f4xi4<Esc>ZZ

0 comments


#302 lauri lehmijoki / laurilehmijoki - Score: 8 - 06/02/12 @ 15:03
f2xa<Esc>pZZ

0 comments


#303 Noel Alejandro / noelrock333 - Score: 8 - 06/23/12 @ 00:59
$xP:w<CR><C-W>q

0 comments


#304 Trever Marshall / dynamic_library - Score: 8 - 10/12/12 @ 10:53
}c<Left><Right>2<Esc>ZZ

0 comments


#305 Endri Runa / endiruna - Score: 9 - 06/06/12 @ 23:36
f2xp<Esc>:wq<CR>

0 comments


#306 Howard / h0w412d - Score: 12 - 07/16/12 @ 02:44
:%s/24/42<CR>ZZ

0 comments


#307 ☈king / SharpsawDotOrg - Score: 33 - 06/24/12 @ 07:29
i<Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><BS><BS>42<Esc>ZZ

SharpsawDotOrg: Just kidding. ☺

1 comment


Created by: matty_jwilliams

307 active golfers, 480 entries

Leaderboard (lowest score wins):
5
#1 - Ricardo Mendes / locks

04/26/2012 at 08:42PM

5
#2 - Pavlo Klets / p01nt

04/26/2012 at 08:48PM

5
#3 - Aaron Lake / aaronmlake

04/26/2012 at 08:50PM

5
#4 - Matty Williams / matty_jwilliams

04/26/2012 at 08:50PM

5
#5 - Martin Aumueller / aumuell

04/26/2012 at 08:57PM

5
#6 - Tim Chase / gumnos

04/26/2012 at 08:58PM

5
#7 - Jan Paul Erkelens / jperkelens

04/26/2012 at 09:09PM

5
#8 - Nolen Royalty / NolenRoyalty

04/26/2012 at 09:24PM

5
#9 - lucapette / lucapette

04/26/2012 at 09:30PM

5
#10 - Alain Gilbert / alain_gilbert

04/26/2012 at 09:43PM

5
#11 - Pawel Obrok / mrYapee

04/26/2012 at 09:44PM

5
#12 - Pete Johns / johnsyweb

04/26/2012 at 10:54PM

5
#13 - Michał Taszycki / mehowte

04/26/2012 at 11:51PM

5
#14 - Golf Sinteppadon / minigolf2000

04/26/2012 at 11:59PM

5
#15 - Breccan McLeod-Lundy / Breccan

04/27/2012 at 01:42AM

5
#16 - Kent Sibilev / datanoise

04/27/2012 at 02:08AM

5
#17 - cloudkserg / cloudkserg

04/27/2012 at 02:51AM

5
#18 - Tesnorth / Tesnorth

04/27/2012 at 05:48AM

5
#19 - Jonathan Lozinski / jlozinski

04/27/2012 at 05:53AM

5
#20 - Federico Galassi / federicogalassi

04/27/2012 at 06:23AM

5
#21 - DamienVGN / DamienVGN

04/27/2012 at 07:29AM

5
#22 - Jiří Chára / JiriChara

04/27/2012 at 08:33AM

5
#23 - matthewpeck / matthewpeck

04/27/2012 at 01:27PM

5
#24 - Andreas Maierhofer / tjahma

04/27/2012 at 08:22PM

5
#25 - Jez Cope / jezcope

04/27/2012 at 08:36PM

5
#26 - Trevor Powell / DoomedBunnies

04/27/2012 at 11:12PM

5
#27 - Jose Fernandez / jrfernandez

04/28/2012 at 12:46AM

5
#28 - Rod Knowlton / codelahoma

04/28/2012 at 01:26AM

5
#29 - Sean Todd / descentintomael

04/28/2012 at 04:26AM

5
#30 - Oleg Roshupkin / jjjahson

04/28/2012 at 07:29AM