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

Generate Fibonacci Numbers

Use your super vim powers to generate Fibonacci Numbers.

Start file
0
End file
0
1
1
2
3
5
8
13
21
34
55
89
144
233
377
610
987
1597
2584
4181
6765
10946
17711
28657
46368
75025
121393
196418
317811
514229
832040
1346269
2178309
3524578
5702887
9227465
14930352
24157817
39088169

View Diff

1a2,39
> 1
> 1
> 2
> 3
> 5
> 8
> 13
> 21
> 34
> 55
> 89
> 144
> 233
> 377
> 610
> 987
> 1597
> 2584
> 4181
> 6765
> 10946
> 17711
> 28657
> 46368
> 75025
> 121393
> 196418
> 317811
> 514229
> 832040
> 1346269
> 2178309
> 3524578
> 5702887
> 9227465
> 14930352
> 24157817
> 39088169

Solutions by @peter_anselmo:

Unlock 1 remaining solutions by signing in and submitting your own entry
Created by: @Ujjwol

100 active golfers, 280 entries

Solutions by @peter_anselmo:
25
#75 - Peter Anselmo / @peter_anselmo

01/01/2011 at 08:49PM