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):
18
#31 - Pei-Lun Lee / @ypcatw

01/05/2012 at 09:02AM

18
#32 - Justin Love / @wondible

01/07/2012 at 01:34AM

18
#33 - veki / @vx_ras

01/31/2012 at 08:48PM

19
#34 - Ernestas / @ernestas

01/03/2012 at 12:14PM

19
#35 - oliver mueller / @marcontwit

01/26/2012 at 04:37AM

19
#36 - Renat Aksitov / @Korvin79

02/16/2012 at 11:21PM

19
#37 - David Sanders / @SandersCD

02/19/2012 at 05:47AM

19
#38 - Radek / @qrczeno

04/20/2012 at 02:37PM

19
#39 - Rod Knowlton / @codelahoma

04/24/2012 at 03:11PM

19
#40 - Kerson Hsiao / @KersonHsiao

05/11/2012 at 06:07PM

19
#41 - annagrammatica1 / @annagrammatica1

08/02/2012 at 06:53AM

19
#42 - Joonas Pihlajamaa / @jokkebk

02/23/2014 at 11:38AM

19
#43 - pftb12345 / @pftb12345

04/13/2015 at 12:41PM

19
#44 - Mihai / @mihaicristiant

03/21/2019 at 09:40AM

20
#45 - xhtmlforum / @xhtmlforum

01/03/2012 at 06:58AM

20
#46 - Maciej Suchecki / @mcSuchecki

01/03/2012 at 06:54PM

20
#47 - captain_morgan / @captain_morgan

01/03/2012 at 10:42PM

20
#48 - Trevor Powell / @DoomedBunnies

01/06/2012 at 12:49AM

20
#49 - Mihai Crăiță / @mihai_craita

01/06/2012 at 05:16PM

20
#50 - Xavier Nayrac / @lkdjiin

01/08/2012 at 01:08PM

20
#51 - William Dunand / @wdunand

01/12/2012 at 05:49AM

20
#52 - Albin Olsson / @sentenser

01/15/2012 at 11:23PM

20
#53 - Pete Bevin / @pbevin

01/24/2012 at 11:37PM

20
#54 - James Freed / @JamesTFreed

02/02/2012 at 11:04PM

20
#55 - mjwalds / @mjwalds

03/14/2012 at 10:42PM

20
#56 - Jez Cope / @jezcope

04/27/2012 at 09:02PM

20
#57 - Yann Moisan / @YannMoisan

01/12/2013 at 09:24PM

20
#58 - Woojung Kim 김우중 / @_kimwz

07/16/2013 at 02:15AM

20
#59 - Daniel / @Daniel00288663

04/04/2017 at 10:06AM

21
#60 - derp derp / @derp__

01/03/2012 at 08:00AM