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 137 remaining solutions by signing in and submitting your own entry
#138 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


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

139 active golfers, 400 entries

Leaderboard (lowest score wins):
25
#91 - bsjd / @bsjd

05/07/2012 at 10:02PM

25
#92 - Eric Weikl / @ericweikl

05/09/2012 at 08:15PM

25
#93 - Michael Limiero / @michaellimiero

08/14/2012 at 11:38PM

26
#94 - bmamax / @bmamax

01/16/2012 at 03:59PM

26
#95 - Matt / @mcr05

10/30/2014 at 10:37AM

26
#96 - ぷりケツにるぽ / @nillpo

01/03/2015 at 03:19PM

26
#97 - Joel Gallant / @joelg236

07/10/2015 at 05:03PM

26
#98 - Ryan Dwyer / @ryan_dwyer

06/06/2016 at 06:45AM

27
#99 - Tobias Brixen / @brixendk

06/08/2014 at 09:23AM

28
#100 - Jonathan Lozinski / @jlozinski

04/21/2012 at 12:47PM

28
#101 - Hawk Newton / @hawknewton

04/24/2012 at 11:46AM

29
#102 - Michael Pilat / @mikepilat

02/10/2012 at 04:50AM

29
#103 - utopiah / @utopiah

06/12/2012 at 11:25AM

29
#104 - Marcin Sza / @coot_

12/01/2012 at 01:34PM

30
#105 - James / @Dronak

09/18/2014 at 08:32PM

31
#106 - Matthieu Honel / @ocus

03/21/2012 at 11:36PM

32
#107 - Oliver Christ / @0liverChrist

10/02/2013 at 10:41PM

32
#108 - jimauthors / @jimauthors

02/15/2014 at 01:50AM

33
#109 - Alan Oliver / @alol

02/15/2012 at 12:37AM

33
#110 - ltn614 / @ltn614

09/27/2015 at 12:10PM

34
#111 - Jason Rhodes / @rhodesjason

02/08/2012 at 04:37AM

34
#112 - Adrian Roston / @akroston

02/13/2012 at 12:56AM

34
#113 - Tobias Sjösten / @tobiassjosten

04/24/2012 at 03:26PM

34
#114 - Javier Cervantes / @solojavier

09/07/2012 at 10:16PM

35
#115 - Dan Huang / @yuzeh

02/16/2012 at 07:09PM

35
#116 - brett / @brettyukich

09/22/2013 at 02:37PM

37
#117 - Gareth Andrew / @f8code

01/25/2012 at 03:28AM

37
#118 - Ehren Murdick / @rubyprogrammer

03/27/2012 at 09:41PM

37
#119 - Makis Arsenis / @marsenis

05/11/2012 at 10:21AM

37
#120 - Christian Gaida / @chgaida

05/12/2012 at 06:25PM