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


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

140 active golfers, 402 entries

Leaderboard (lowest score wins):
2
#1 - Marius Jurgelenas / @MarenasLT

07/26/2018 at 12:17PM

2
#2 - Arijus / @argshook

07/26/2018 at 12:25PM

17
#3 - Tim Chase / @gumnos

01/03/2012 at 12:40PM

17
#4 - Burkhard Zimmermann / @BurkZimm

01/06/2012 at 01:23PM

17
#5 - Oleg Roshupkin / @jjjahson

01/17/2012 at 05:59AM

17
#6 - Song Zheng / @songz

01/24/2012 at 09:40PM

17
#7 - Abdel Said / @abdelsaid

02/10/2012 at 11:35PM

17
#8 - Aaron Massey / @akmassey

03/02/2012 at 08:52PM

17
#9 - Hugh Carroll / @psaikido

03/06/2012 at 12:44AM

17
#10 - Federico Galassi / @federicogalassi

03/11/2012 at 06:02PM

17
#11 - deris / @deris0126

04/03/2012 at 12:23PM

17
#12 - Christian Helbling / @friendly_coder

04/05/2012 at 06:08PM

17
#13 - Nolen Royalty / @NolenRoyalty

04/10/2012 at 07:29AM

17
#14 - Mahefa Randimbisoa / @DotMG

04/20/2012 at 02:09PM

17
#15 - Sebastian Kusnier / @skusnier

05/05/2012 at 11:47AM

17
#16 - CoolWebTeacher / @coolwebteacher

05/10/2012 at 02:50PM

17
#17 - Urtica dioica / @udioica

05/15/2012 at 08:11PM

17
#18 - Sergey / @sav86

05/18/2012 at 03:50AM

17
#19 - Benoit Mortgat / @Benoit_Mortgat

06/06/2012 at 12:58PM

17
#20 - Conner McDaniel / @connermcd

09/18/2012 at 05:27AM

17
#21 - Marco Hinz / @_mhinz_

05/23/2013 at 12:08PM

17
#22 - Petro Тrouq / @zulolosi

07/03/2013 at 10:08PM

17
#23 - Bradd Szonye / @bszonye

07/15/2013 at 02:10AM

17
#24 - John Braxler / @braxler

04/30/2014 at 02:03PM

17
#25 - Haoxuan Yue / @yuehaoxuanar

07/19/2014 at 01:48PM

17
#26 - RobertT / @techrt2050

07/22/2014 at 05:25PM

17
#27 - Jon Krause / @jkrause314

03/16/2016 at 01:42AM

17
#28 - Turkey Man / @lvturkeyman

11/27/2017 at 04:51PM

17
#29 - BarbaJol / @drpproteus

01/11/2018 at 05:23PM

17
#30 - DHM / @DHM29978992

05/15/2018 at 02:49AM