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 by @me_coot:

Unlock 2 remaining solutions by signing in and submitting your own entry
Created by: @rodmar_

406 active golfers, 684 entries

Solutions by @me_coot:
12
#241 - Marcin Szamotulski / @me_coot

12/05/2012 at 04:13PM

13
#>378 - Marcin Szamotulski / @me_coot

12/05/2012 at 04:12PM