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 104 remaining solutions by signing in and submitting your own entry
#105 Adrian Roston / akroston - Score: 34 - 02/13/12 @ 00:56
/gu<CR>vel"gy5jqqve"gpq4jb@q?tc<CR>@qxZZ

0 comments

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

0 comments

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

0 comments

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

0 comments

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

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

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

0 comments

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

0 comments

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

0 comments

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

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

0 comments

#124 ü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

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

0 comments

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

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

0 comments

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

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

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

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

131 active golfers, 365 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

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

01/03/2012 at 04:38AM

18
#27 - Pei-Lun Lee / ypcatw

01/05/2012 at 09:02AM

18
#28 - Justin Love / wondible

01/07/2012 at 01:34AM

18
#29 - veki / vx_ras

01/31/2012 at 08:48PM

19
#30 - Ernestas / ernestas

01/03/2012 at 12:14PM

19
#31 - oliver mueller / marcontwit

01/26/2012 at 04:37AM

19
#32 - Renat Aksitov / Korvin79

02/16/2012 at 11:21PM

19
#33 - David Sanders / SandersCD

02/19/2012 at 05:47AM

19
#34 - Radek / qrczeno

04/20/2012 at 02:37PM

19
#35 - Rod Knowlton / codelahoma

04/24/2012 at 03:11PM

19
#36 - Kerson Hsiao / KersonHsiao

05/11/2012 at 06:07PM

19
#37 - annagrammatica1 / annagrammatica1

08/02/2012 at 06:53AM

19
#38 - Joonas Pihlajamaa / jokkebk

02/23/2014 at 11:38AM

19
#39 - pftb12345 / pftb12345

04/13/2015 at 12:41PM

20
#40 - xhtmlforum / xhtmlforum

01/03/2012 at 06:58AM

20
#41 - Maciej Suchecki / mcSuchecki

01/03/2012 at 06:54PM

20
#42 - captain_morgan / captain_morgan

01/03/2012 at 10:42PM

20
#43 - Trevor Powell / DoomedBunnies

01/06/2012 at 12:49AM

20
#44 - Mihai Crăiță / mihai_craita

01/06/2012 at 05:16PM

20
#45 - Xavier Nayrac / lkdjiin

01/08/2012 at 01:08PM

20
#46 - William Dunand / wdunand

01/12/2012 at 05:49AM

20
#47 - Albin Olsson / sentenser

01/15/2012 at 11:23PM

20
#48 - Pete Bevin / pbevin

01/24/2012 at 11:37PM

20
#49 - James Freed / JamesTFreed

02/02/2012 at 11:04PM

20
#50 - mjwalds / mjwalds

03/14/2012 at 10:42PM

20
#51 - Jez Cope / jezcope

04/27/2012 at 09:02PM

20
#52 - Yann Moisan / YannMoisan

01/12/2013 at 09:24PM

20
#53 - Woojung Kim 김우중 / _kimwz

07/16/2013 at 02:15AM

21
#54 - derp derp / derp__

01/03/2012 at 08:00AM

21
#55 - Vasil Sakarov / vsakarov

01/04/2012 at 07:40PM

21
#56 -  Ikhsan Maulana / ixandidu

01/07/2012 at 05:13AM

21
#57 - Christopher Brew / Seph1rothVII

01/09/2012 at 11:43PM

21
#58 - Omer Lachish / rauchy

01/22/2012 at 06:52AM

21
#59 - Rob C. Grant / rob_c_grant

01/28/2012 at 02:54AM

21
#60 - Thijs Brobbel / tiesmaster

01/30/2012 at 02:24PM

21
#61 - Tesnorth / Tesnorth

01/30/2012 at 10:58PM

21
#62 - Henri Wiechers / hwiechers

02/07/2012 at 12:23PM

21
#63 - Kurt Gaastra / KGaastra

02/13/2012 at 02:06AM

21
#64 - Grigoriy Glushko / grinderrz

02/17/2012 at 10:08AM

21
#65 - Chris Penkett / chrispenkett

04/02/2012 at 10:35PM

21
#66 - Chris Brown / engineercyb

08/01/2012 at 06:05PM

22
#67 - James Cash / jamesnvc

01/03/2012 at 04:11AM

22
#68 - Joe Nerdan / JoeNerdan

01/05/2012 at 12:25AM

22
#69 - Von Pmg / vonpmg

01/13/2012 at 02:32PM

22
#70 - 無ん垢の叫び / john_ababa

02/29/2012 at 08:08AM

23
#71 - twobit / _2bt

01/03/2012 at 06:18PM

23
#72 - Lin Yangyang / canoelyy

02/01/2012 at 04:35AM

23
#73 - Thomas GUILLORY / thomasguillory

03/12/2014 at 12:45PM

24
#74 - Dave Smylie / davesmylie

02/03/2012 at 03:40AM

24
#75 - cj / cj01101

08/19/2013 at 10:48PM

24
#76 - Quota / Quotad

02/20/2014 at 02:22PM

25
#77 - Dj Vimgolf / dj_vimgolf

01/05/2012 at 02:10AM

25
#78 - Dmitry Teslenko / krab_mozga

01/16/2012 at 12:07PM

25
#79 - Darren Firth / DarrenSFirth

02/20/2012 at 02:07AM

25
#80 - Michael Jin / michaeljin

02/23/2012 at 07:21AM

25
#81 - jpboodhoo / jpboodhoo

04/11/2012 at 01:48AM

25
#82 - learninghang / learninghang

04/13/2012 at 05:03PM

25
#83 - jDeveloper / jDevEE

04/25/2012 at 07:49PM

25
#84 - bsjd / bsjd

05/07/2012 at 10:02PM

25
#85 - Eric Weikl / ericweikl

05/09/2012 at 08:15PM

25
#86 - Michael Limiero / michaellimiero

08/14/2012 at 11:38PM

26
#87 - bmamax / bmamax

01/16/2012 at 03:59PM

26
#88 - Matthieu Crapet / mcr05

10/30/2014 at 10:37AM

26
#89 - .さとうにるぽ引退.swp / nillpo

01/03/2015 at 03:19PM

26
#90 - Joel Gallant / joelg236

07/10/2015 at 05:03PM

26
#91 - Ryan Dwyer / ryan_dwyer

06/06/2016 at 06:45AM

27
#92 - Tobias Brixen / brixendk

06/08/2014 at 09:23AM

28
#93 - Jonathan Lozinski / jlozinski

04/21/2012 at 12:47PM

28
#94 - Hawk Newton / hawknewton

04/24/2012 at 11:46AM

29
#95 - Michael Pilat / mikepilat

02/10/2012 at 04:50AM

29
#96 - utopiah / utopiah

06/12/2012 at 11:25AM

29
#97 - Marcin Sza / coot_

12/01/2012 at 01:34PM

30
#98 - James / Dronak

09/18/2014 at 08:32PM

31
#99 - Matthieu Honel / ocus

03/21/2012 at 11:36PM

32
#100 - Oliver Christ / 0liverChrist

10/02/2013 at 10:41PM

32
#101 - jimauthors / jimauthors

02/15/2014 at 01:50AM

33
#102 - Alan Oliver / alol

02/15/2012 at 12:37AM

33
#103 - ltn614 / ltn614

09/27/2015 at 12:10PM

34
#104 - Jason Rhodes / rhodesjason

02/08/2012 at 04:37AM

34
#105 - Adrian Roston / akroston

02/13/2012 at 12:56AM

34
#106 - Tobias Sjösten / tobiassjosten

04/24/2012 at 03:26PM

34
#107 - Javier Cervantes / solojavier

09/07/2012 at 10:16PM

35
#108 - Dan Huang / yuzeh

02/16/2012 at 07:09PM

35
#109 - brett / brettyukich

09/22/2013 at 02:37PM

37
#110 - Gareth Andrew / f8code

01/25/2012 at 03:28AM

37
#111 - Ehren Murdick / rubyprogrammer

03/27/2012 at 09:41PM

37
#112 - Makis Arsenis / marsenis

05/11/2012 at 10:21AM

37
#113 - Christian Gaida / chgaida

05/12/2012 at 06:25PM

37
#114 - Dave@Highgroove / HighgrooveDave

05/22/2012 at 08:40PM

37
#115 - Walker Boh / walker_boh

11/18/2015 at 09:46AM

38
#116 - Scott Schlesier / sschlesier

02/21/2012 at 08:19AM

38
#117 - Phil Pirozhkov / philpirj

04/24/2012 at 12:46PM

40
#118 - Petrik de Heus / four54

01/14/2012 at 09:31PM

40
#119 - David Crawford / minetowin

02/05/2012 at 12:57AM

40
#120 - Mark Zalar / ZalarMark

04/24/2012 at 02:06PM

42
#121 - peter reisinger / PeterReisinger

01/03/2012 at 05:36PM

43
#122 - François VANTOMME / akarzim

02/03/2012 at 10:02AM

44
#123 - neerajsharma / neerajsharma

01/25/2012 at 09:12AM

45
#124 - ümit kablan / udslk

03/09/2012 at 04:58PM

47
#125 - Alain Gilbert / alain_gilbert

01/03/2012 at 03:11AM

47
#126 - Patrick Klingemann / pklingem

02/03/2012 at 11:05PM

47
#127 - Adrien Friggeri / qelf

02/25/2012 at 04:45AM

48
#128 - ShikChen / ShikChen

01/06/2012 at 01:48AM

48
#129 - Bernhard Urban / lewurm

02/21/2012 at 06:01PM

53
#130 - Patrik Antonsson / pantonsson

01/05/2012 at 05:51AM

53
#131 - Andrew Ogden / ScruffyJanitor1

01/31/2012 at 02:59AM