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

Replacing some words

How fast could it be?

Start file
 4820 vim_golf  15   0 68772  11m  836 S  0.0  0.0   1:51.42 screen
 4821 vim_golf  16   0 54012 2288  900 S  0.0  0.0   0:00.09 tcsh
 4843 guestme   16   0 54360 2696  912 S  0.0  0.0   0:00.57 tcsh
 6602 vim_golf  16   0  374m 305m 203m S  0.0  0.4   0:02.85 gdb
 7599 vim_golf  16   0 53744 2000  864 S  0.0  0.0   0:00.63 tcsh
 7833 vim_golf  15   0 54032 2072  884 S  0.0  0.0   0:00.08 tcsh
11872 vim_golf  16   0 96100 5476 3812 S  0.0  0.0   0:00.04 vim
17605 vim_golf  16   0 53832 2012  820 S  0.0  0.0   0:00.07 tcsh
19698 vim_golf  16   0 35788 1744 1112 S  0.0  0.0   0:12.49 sshd
19699 vim_golf  15   0 54228 2084  912 S  0.0  0.0   0:00.07 tcsh
19731 vim_golf  16   0 58416  992  756 S  0.0  0.0   0:00.00 screen
23891 vim_golf  16   0  5584 1412  832 R  0.0  0.0  13:24.71 top
29880 vim_golf  16   0 54196 2320  924 S  0.0  0.0   0:00.63 tcsh
30558 vim_golf  16   0 98808 7652 4440 S  0.0  0.0   0:02.34 vim
30559 vim_golf  16   0     0    0    0 Z  0.0  0.0   0:00.00 cscope <defunct>
31131 vim_golf  16   0 53868 2148  896 S  0.0  0.0   0:00.10 tcsh

End file
 4820 vim_golf  15   0 68772  11m  836 S  0.0  0.0   1:51.42 screen
 4821 vim_golf  16   0 54012 2288  900 S  0.0  0.0   0:00.09 tcsh
 4843 guestme   16   0 54360 2696  912 S  0.0  0.0   0:00.57 tcsh
 6602 vim_golf  16   0  374m 305m 203m S  0.0  0.4   0:02.85 gdb
 7599 vim_golf  16   0 53744 2000  864 S  0.0  0.0   0:00.63 tcsh
 7833 vim_golf  15   0 54032 2072  884 S  0.0  0.0   0:00.08 tcsh
11872 vim_golf  16   0 96100 5476 3812 S  0.0  0.0   0:00.04 vim
17605 guestme   16   0 53832 2012  820 S  0.0  0.0   0:00.07 tcsh
19698 vim_golf  16   0 35788 1744 1112 S  0.0  0.0   0:12.49 sshd
19699 vim_golf  15   0 54228 2084  912 S  0.0  0.0   0:00.07 guestme
19731 vim_golf  16   0 58416  992  756 S  0.0  0.0   0:00.00 screen
23891 guestme   16   0  5584 1412  832 R  0.0  0.0  13:24.71 top
29880 vim_golf  16   0 54196 2320  924 S  0.0  0.0   0:00.63 tcsh
30558 vim_golf  16   0 98808 7652 4440 S  0.0  0.0   0:02.34 vim
30559 vim_golf  16   0     0    0    0 Z  0.0  0.0   0:00.00 cscope <defunct>
31131 vim_golf  16   0 53868 2148  896 S  0.0  0.0   0:00.10 tcsh

View Diff

8c8
< 17605 vim_golf  16   0 53832 2012  820 S  0.0  0.0   0:00.07 tcsh
---
> 17605 guestme   16   0 53832 2012  820 S  0.0  0.0   0:00.07 tcsh
10c10
< 19699 vim_golf  15   0 54228 2084  912 S  0.0  0.0   0:00.07 tcsh
---
> 19699 vim_golf  15   0 54228 2084  912 S  0.0  0.0   0:00.07 guestme
12c12
< 23891 vim_golf  16   0  5584 1412  832 R  0.0  0.0  13:24.71 top
---
> 23891 guestme   16   0  5584 1412  832 R  0.0  0.0  13:24.71 top

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 109 remaining solutions by signing in and submitting your own entry
#110 Jason Rhodes / rhodesjason - Score: 34 - 02/08/12 @ 04:37
8Gwcwg<C-N><Esc><Esc><Right> uucwg<C-N> <Esc><Esc>/v<CR>3n.?t<CR>n.xZZ

0 comments


#111 Adrian Roston / akroston - Score: 34 - 02/13/12 @ 00:56
/gu<CR>vel"gy5jqqve"gpq4jb@q?tc<CR>@qxZZ

0 comments


#112 Tobias Sjösten / tobiassjosten - Score: 34 - 04/24/12 @ 15:26
2jwvely5j"_deP4jb"_deP2kft"_depxZZ

0 comments


#113 Javier Cervantes / solojavier - Score: 34 - 09/07/12 @ 22:16
wjj"kyw5jqq"kPdf qb4j@q?tc<CR>@qDxxZZ

0 comments


#114 Dan Huang / yuzeh - Score: 35 - 02/16/12 @ 19:09
/gu<CR>y8l5jPjj$bP3wjPlde4kdejj$bhd$ZZ

0 comments


#115 brett / brettyukich - Score: 35 - 09/22/13 @ 14:37
25W"1ye5jcE<C-R>1 <Esc>4jcb<Del><C-R>1 <Esc>2k$cb<Del><C-R>1<Esc>ZZ

0 comments


#116 Gareth Andrew / f8code - Score: 37 - 01/25/12 @ 03:28
2jfgvely5jdeh"0p4jBdeh"0p2kftde"0pxZZ

0 comments


#117 Ehren Murdick / rubyprogrammer - Score: 37 - 03/27/12 @ 21:41
2jfgvely5jdeh"0p4jBdeh"0p2kftde"0pxZZ

0 comments


#118 Makis Arsenis / marsenis - Score: 37 - 05/11/12 @ 10:21
2jw"kyw8Gqaw"kPldwq4j^@a2k$b"kPhhd$ZZ

0 comments


#119 Christian Gaida / chgaida - Score: 37 - 05/12/12 @ 18:25
2jfgvely5jdeh"0p4jBdeh"0p2kftde"0pxZZ

0 comments


#120 Dave@Highgroove / HighgrooveDave - Score: 37 - 05/22/12 @ 20:40
:8<CR>wceguestme <Esc>:12<CR>w.kk$ciwguestme<Esc>ZZ

0 comments


#121 Walker Boh / walker_boh - Score: 37 - 11/18/15 @ 09:46
jjWye8GWvepa <Esc>ybjj$vbpbyejj^Wvepa <Esc>ZZ

0 comments


#122 Scott Schlesier / sschlesier - Score: 38 - 02/21/12 @ 08:19
/guve<BS><BS><CR>vel"ty5jqqve"tpq4jb@q?tc<CR>@qxZZ

0 comments


#123 Phil Pirozhkov / philpirj - Score: 38 - 04/24/12 @ 12:46
2jWyw5jPdf 4<Esc>Byw4jPdf byw$2kbPhhd$:wq<CR>

0 comments


#124 Petrik de Heus / four54 - Score: 40 - 01/14/12 @ 21:31
/gu<CR>"ayw5<Down>dw"aP<Down><Down>ftdw"apxxx<Right><Down><Down>0wdw"aP<Esc>ZZ

0 comments


#125 David Crawford / minetowin - Score: 40 - 02/05/12 @ 00:57
2jwy8l5jde"0P2jftde"0px2jFvde"0pu"0P:wq<CR>

0 comments


#126 Mark Zalar / ZalarMark - Score: 40 - 04/24/12 @ 14:06
2jwvelly5jh9x"0p4jbh9x"0p$2k3h4x"0pxx:x<CR>

0 comments


#127 peter reisinger / PeterReisinger - Score: 42 - 01/03/12 @ 17:36
3Gwve"ry8Gwve"rpa <Esc>jj$bve"rpjj7|ve"rpa <Esc>ZZ

0 comments


#128 François VANTOMME / akarzim - Score: 43 - 02/03/12 @ 10:02
8Gwciwguestme <Esc>4j.?tc<C-R>.xZZ<BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><CR><C-R>.xZZ

0 comments


#129 neerajsharma / neerajsharma - Score: 44 - 01/25/12 @ 09:12
/gu<NL>"aye5jdeh"apa <Esc>2jftdeh"ap2jFvdeh"apa <Esc>ZZ

0 comments


#130 ümit kablan / udslk - Score: 45 - 03/09/12 @ 16:58
7jwceguestme<Esc>"pyiwea <Esc>2j$ciw<C-R>p<Esc>2j0wce<C-R>p <Esc>:wq<CR>

0 comments


#131 Alain Gilbert / alain_gilbert - Score: 47 - 01/03/12 @ 03:11
8Gwcwguestme <Esc>2jA<Esc>caw guestme<Esc>2j0wcwguestme <Esc>ZZ

0 comments


#132 Patrick Klingemann / pklingem - Score: 47 - 02/03/12 @ 23:05
:10<CR>ftceguestme<Esc>:8<CR>w.a <Esc>:12<CR>w.uhceguestme <Esc>:wq<CR>

0 comments


#133 Adrien Friggeri / qelf - Score: 47 - 02/25/12 @ 04:45
8Gwcwguestme <Esc>2j$bcwguestme<Esc>2j0wcwguestme <Esc>:wq<CR>

0 comments


#134 ShikChen / ShikChen - Score: 48 - 01/06/12 @ 01:48
:8<CR>fv8xiguestme <Down><Down><Esc>A<BS><BS><BS><BS>guestme<Down><Down><Esc>FvRguestme <Esc>ZZ

0 comments


#135 Bernhard Urban / lewurm - Score: 48 - 02/21/12 @ 18:01
:8<CR>wdwiguestme   <Esc>:12<CR>w.ldwkkA<BS><BS><BS><BS>guestme<Esc>:w<BS><BS>ZZ

0 comments


#136 Patrik Antonsson / pantonsson - Score: 53 - 01/05/12 @ 05:51
:8<CR>fvcwguestme <Esc>:10<CR>ftcwguestme<Esc>:12<CR>fvcwguestme <Esc>:wq<CR>

0 comments


#137 Andrew Ogden / ScruffyJanitor1 - Score: 53 - 01/31/12 @ 02:59
8Gwceguestme <Esc>12Gwceguestme <Esc>10G$Rhl<BS><BS><BS><BS><BS>guestme<Esc>:wq<CR>

0 comments


Created by: Arton0306

137 active golfers, 396 entries

Leaderboard (lowest score wins):
17
#1 - Tim Chase / gumnos

01/03/2012 at 12:40PM

17
#2 - Burkhard Zimmermann / BurkZimm

01/06/2012 at 01:23PM

17
#3 - Oleg Roshupkin / jjjahson

01/17/2012 at 05:59AM

17
#4 - Song Zheng / songz

01/24/2012 at 09:40PM

17
#5 - Abdel Said / abdelsaid

02/10/2012 at 11:35PM

17
#6 - Aaron Massey / akmassey

03/02/2012 at 08:52PM

17
#7 - Hugh Carroll / psaikido

03/06/2012 at 12:44AM

17
#8 - Federico Galassi / federicogalassi

03/11/2012 at 06:02PM

17
#9 - deris / deris0126

04/03/2012 at 12:23PM

17
#10 - Christian Helbling / friendly_coder

04/05/2012 at 06:08PM

17
#11 - Nolen Royalty / NolenRoyalty

04/10/2012 at 07:29AM

17
#12 - Mahefa Randimbisoa / DotMG

04/20/2012 at 02:09PM

17
#13 - Sebastian Kusnier / skusnier

05/05/2012 at 11:47AM

17
#14 - Kevin Hansen / coolwebteacher

05/10/2012 at 02:50PM

17
#15 - Urtica dioica / udioica

05/15/2012 at 08:11PM

17
#16 - Sergey / sav86

05/18/2012 at 03:50AM

17
#17 - Benoit Mortgat / Benoit_Mortgat

06/06/2012 at 12:58PM

17
#18 - Conner McDaniel / connermcd

09/18/2012 at 05:27AM

17
#19 - Marco Hinz / _mhinz_

05/23/2013 at 12:08PM

17
#20 - Petro Тrouq / zulolosi

07/03/2013 at 10:08PM

17
#21 - Bradd Szonye / bszonye

07/15/2013 at 02:10AM

17
#22 - John Braxler / braxler

04/30/2014 at 02:03PM

17
#23 - Haoxuan Yue / yuehaoxuanar

07/19/2014 at 01:48PM

17
#24 - RobertT / techrt2050

07/22/2014 at 05:25PM

17
#25 - Jon Krause / jkrause314

03/16/2016 at 01:42AM

17
#26 - Turkey Man / lvturkeyman

11/27/2017 at 04:51PM

17
#27 - BarbaJol / drpproteus

01/11/2018 at 05:23PM

17
#28 - DHM / DHM29978992

05/15/2018 at 02:49AM

17
#29 - GreenPinguin / GreenPinguin2

05/31/2018 at 08:14AM

18
#30 - h_east (トロッコ6個) / h_east

01/03/2012 at 04:38AM