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 4d1cc35a35b40650b800043a

Increment, increment, increment....

Vim likes macros

Start file
1
End file
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

View Diff

1a2,25
> 2
> 3
> 4
> 5
> 6
> 7
> 8
> 9
> 10
> 11
> 12
> 13
> 14
> 15
> 16
> 17
> 18
> 19
> 20
> 21
> 22
> 23
> 24
> 25

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 336 remaining solutions by signing in and submitting your own entry
#337 dixrow / @dixrow1 - Score: 112 - 10/22/19 @ 10:16
a<CR>2<CR>3<CR>4<CR>5<CR>6<CR>7<CR>8<CR>9<Esc>vggyGpi<CR><Esc>i1<Esc>j.j.j.j.j.j.j.j.<Esc>kkkkkkkkkkjjO10<Esc>jjjjjjjjjjjjjo<Esc>pi20<CR>2<BS><Esc>i2<Esc>j.j.j.j.j<Esc>dddddddd<Esc>:wq<CR>

0 comments


Created by: @rodmar_

337 active golfers, 493 entries

Leaderboard (lowest score wins):
12
#211 - David Kormushoff / @Kormie

07/09/2013 at 02:10AM

12
#212 - moo goo / @m00g000

07/19/2013 at 01:49PM

12
#213 - Dr. Rev. J. "Paranoid Android" Kirchartz / @JKirchartz

07/25/2013 at 03:11AM

12
#214 - A / @Tower_1980

07/28/2013 at 12:05PM

12
#215 - Steve Tjoa / @stevetjoa

07/30/2013 at 06:23PM

12
#216 - Chris Brown / @engineercyb

08/06/2013 at 12:02AM

12
#217 - Petro Тrouq / @zulolosi

08/20/2013 at 05:20PM

12
#218 - James / @Dronak

09/03/2013 at 02:36AM

12
#219 - yaon / @yaon4

09/10/2013 at 03:07PM

12
#220 - brett / @brettyukich

10/01/2013 at 09:19AM

12
#221 - cj / @cj01101

10/18/2013 at 10:22PM

12
#222 - Tyler / @tylerbindon

10/21/2013 at 04:40AM

12
#223 - Larry Boltovskoi / @larrybolt

12/08/2013 at 02:19AM

12
#224 - Pandu / @pandu_golf

01/05/2014 at 10:27AM

12
#225 - Alex Colson / @alexcolson

01/07/2014 at 02:08AM

12
#226 - pikaren / @REALpikaren

01/23/2014 at 12:05PM

12
#227 - Karun Ramakrishnan / @the_karun

01/23/2014 at 09:37PM

12
#228 - Helge Milde / @helgefmi

02/03/2014 at 02:44PM

12
#229 - Xelrifos / @Xelrifos

02/17/2014 at 03:21PM

12
#230 - Joonas Pihlajamaa / @jokkebk

02/21/2014 at 12:09PM

12
#231 - Milind Ganjoo / @mganjoo

03/13/2014 at 08:39AM

12
#232 - Luke Ellis / @slav0x

03/21/2014 at 11:54AM

12
#233 - Felipe Jaramillo F / @mrfelipe

05/03/2014 at 05:01PM

12
#234 - Rob Glew / @RealGlew

06/10/2014 at 01:58PM

12
#235 - Connie Qi / @connieqi

06/10/2014 at 03:24PM

12
#236 - Jacob Branaugh / @jacobbranaugh

06/25/2014 at 11:04PM

12
#237 - Ram Tamtam / @ramtamtamtam

07/02/2014 at 02:21PM

12
#238 - Caek / @Caek_

07/15/2014 at 02:07AM

12
#239 - LC / @leeren

08/09/2014 at 09:37PM

12
#240 - Justin Knag / @justinknag

08/30/2014 at 01:23AM