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 150 remaining solutions by signing in and submitting your own entry
#151 Thomas Hiron / @thomashiron - Score: 55 - 02/23/23 @ 15:00
:set rnu<CR>w7jcwguestme <Esc>4jciwguestme <Esc>2keE$ciwguestme<Esc>ZZ

0 comments


Created by: @Arton0306

151 active golfers, 428 entries

Leaderboard (lowest score wins):
24
#91 - shahanavaz m / @shahanavazm

03/17/2024 at 03:05AM

25
#92 - Dj Vimgolf / @dj_vimgolf

01/05/2012 at 02:10AM

25
#93 - Dmitry Teslenko / @krab_mozga

01/16/2012 at 12:07PM

25
#94 - Darren Firth / @DarrenSFirth

02/20/2012 at 02:07AM

25
#95 - Michael Jin / @michaeljin

02/23/2012 at 07:21AM

25
#96 - jpboodhoo / @jpboodhoo

04/11/2012 at 01:48AM

25
#97 - learninghang / @learninghang

04/13/2012 at 05:03PM

25
#98 - jDeveloper / @jDevEE

04/25/2012 at 07:49PM

25
#99 - bsjd / @bsjd

05/07/2012 at 10:02PM

25
#100 - Eric Weikl / @ericweikl

05/09/2012 at 08:15PM

25
#101 - Michael Limiero / @michaellimiero

08/14/2012 at 11:38PM

25
#102 - eriedaberrie / @eriedaberrie

06/26/2022 at 07:56PM

26
#103 - bmamax / @bmamax

01/16/2012 at 03:59PM

26
#104 - Matt / @mcr05

10/30/2014 at 10:37AM

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

01/03/2015 at 03:19PM

26
#106 - Joel Gallant / @joelg236

07/10/2015 at 05:03PM

26
#107 - Ryan Dwyer / @ryan_dwyer

06/06/2016 at 06:45AM

27
#108 - Tobias Brixen / @brixendk

06/08/2014 at 09:23AM

28
#109 - Jonathan Lozinski / @jlozinski

04/21/2012 at 12:47PM

28
#110 - Hawk Newton / @hawknewton

04/24/2012 at 11:46AM

29
#111 - Michael Pilat / @mikepilat

02/10/2012 at 04:50AM

29
#112 - utopiah / @utopiah

06/12/2012 at 11:25AM

29
#113 - Marcin Szamotulski / @me_coot

12/01/2012 at 01:34PM

30
#114 - James / @Dronak

09/18/2014 at 08:32PM

31
#115 - Matthieu Honel / @ocus

03/21/2012 at 11:36PM

32
#116 - Oliver Christ / @0liverChrist

10/02/2013 at 10:41PM

32
#117 - jimauthors / @jimauthors

02/15/2014 at 01:50AM

33
#118 - Alan Oliver / @alol

02/15/2012 at 12:37AM

33
#119 - ltn614 / @ltn614

09/27/2015 at 12:10PM

34
#120 - Jason Rhodes / @rhodesjason

02/08/2012 at 04:37AM