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):
21
#61 - Vasil Sakarov / @vsakarov

01/04/2012 at 07:40PM

21
#62 -  Ikhsan Maulana / @ixandidu

01/07/2012 at 05:13AM

21
#63 - Christopher Brew / @Seph1rothVII

01/09/2012 at 11:43PM

21
#64 - Omer Lachish / @rauchy

01/22/2012 at 06:52AM

21
#65 - Rob C. Grant / @rob_c_grant

01/28/2012 at 02:54AM

21
#66 - Thijs Brobbel / @tiesmaster

01/30/2012 at 02:24PM

21
#67 - Tesnorth / @Tesnorth

01/30/2012 at 10:58PM

21
#68 - Henri Wiechers / @hwiechers

02/07/2012 at 12:23PM

21
#69 - Kurt Gaastra / @KGaastra

02/13/2012 at 02:06AM

21
#70 - Grigoriy Glushko / @grinderrz

02/17/2012 at 10:08AM

21
#71 - Chris Penkett / @chrispenkett

04/02/2012 at 10:35PM

21
#72 - Chris Brown / @engineercyb

08/01/2012 at 06:05PM

22
#73 - James Cash / @jamesnvc

01/03/2012 at 04:11AM

22
#74 - Joe Nerdan / @JoeNerdan

01/05/2012 at 12:25AM

22
#75 - Von Pmg / @vonpmg

01/13/2012 at 02:32PM

22
#76 - 無ん垢の叫び / @john_ababa

02/29/2012 at 08:08AM

23
#77 - twobit / @_2bt

01/03/2012 at 06:18PM

23
#78 - Lin Yangyang / @canoelyy

02/01/2012 at 04:35AM

23
#79 - Thomas GUILLORY / @thomasguillory

03/12/2014 at 12:45PM

24
#80 - Dave Smylie / @davesmylie

02/03/2012 at 03:40AM

24
#81 - cj / @cj01101

08/19/2013 at 10:48PM

24
#82 - Quota / @Quotad

02/20/2014 at 02:22PM

24
#83 - Gurukandhamoorthi / @Gurukandhamoor1

08/08/2017 at 05:17PM

25
#84 - Dj Vimgolf / @dj_vimgolf

01/05/2012 at 02:10AM

25
#85 - Dmitry Teslenko / @krab_mozga

01/16/2012 at 12:07PM

25
#86 - Darren Firth / @DarrenSFirth

02/20/2012 at 02:07AM

25
#87 - Michael Jin / @michaeljin

02/23/2012 at 07:21AM

25
#88 - jpboodhoo / @jpboodhoo

04/11/2012 at 01:48AM

25
#89 - learninghang / @learninghang

04/13/2012 at 05:03PM

25
#90 - jDeveloper / @jDevEE

04/25/2012 at 07:49PM