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
#31 - space for rent / @raf_whispering

12/30/2010 at 05:44PM

12
#32 - h_east (トロッコ6個) / @h_east

12/30/2010 at 05:47PM

12
#33 - scott / @SetecAstronomy

12/30/2010 at 05:53PM

12
#34 - Johannes Martinsson / @moxiba

12/30/2010 at 05:56PM

12
#35 - Josh Weinberg / @jcweinberg

12/30/2010 at 05:56PM

12
#36 - Douglas Stockwell / @dstockwell

12/30/2010 at 05:57PM

12
#37 - Steve Morrow / @yawmark

12/30/2010 at 06:00PM

12
#38 - Tom Adams / @holizz

12/30/2010 at 06:12PM

12
#39 - James Wickett / @wickett

12/30/2010 at 06:13PM

12
#40 - Jim Garvin / @coderifous

12/30/2010 at 06:15PM

12
#41 - Jordan Lewis / @JordanALewis

12/30/2010 at 06:18PM

12
#42 - Przemysław Pawełczyk / @przemoc86

12/30/2010 at 06:24PM

12
#43 - Akira Matsuda / @a_matsuda

12/30/2010 at 06:33PM

12
#44 - JamesKovacs / @JamesKovacs

12/30/2010 at 06:36PM

12
#45 - clint tseng / @cxlt

12/30/2010 at 06:38PM

12
#46 - Brian Ferrell / @endenizen

12/30/2010 at 06:41PM

12
#47 - Soliman Sylvain / @sylvain_soliman

12/30/2010 at 06:43PM

12
#48 - Ben Brown / @benofbrown

12/30/2010 at 06:58PM

12
#49 - Denis Odorcic / @denisodorcic

12/30/2010 at 07:20PM

12
#50 - lionel young / @lionelyoung

12/30/2010 at 07:33PM

12
#51 - Dry / @prolongator

12/30/2010 at 07:35PM

12
#52 - Kornél Lugosi / @Coornail

12/30/2010 at 08:00PM

12
#53 -  Ikhsan Maulana / @ixandidu

12/30/2010 at 08:19PM

12
#54 - David Bengoa / @DvdBng

12/30/2010 at 08:20PM

12
#55 - Henri Bourcereau / @mmai

12/30/2010 at 08:23PM

12
#56 - Mike Plotz / @antisuji

12/30/2010 at 08:46PM

12
#57 - Yannick LM / @yanicklm

12/30/2010 at 09:05PM

12
#58 - Yan / @yan

12/30/2010 at 09:26PM

12
#59 - Daniel Einspanjer / @deinspanjer

12/30/2010 at 09:39PM

12
#60 - Dan Smith / @untermrad

12/30/2010 at 09:46PM