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

Remember FizzBuzz?

Output FizzBuzz to 100. Start with nothing.

Start file


End file
1
2
3 Fizz
4
5 Buzz
6 Fizz
7
8
9 Fizz
10 Buzz
11
12 Fizz
13
14
15 FizzBuzz
16
17
18 Fizz
19
20 Buzz
21 Fizz
22
23
24 Fizz
25 Buzz
26
27 Fizz
28
29
30 FizzBuzz
31
32
33 Fizz
34
35 Buzz
36 Fizz
37
38
39 Fizz
40 Buzz
41
42 Fizz
43
44
45 FizzBuzz
46
47
48 Fizz
49
50 Buzz
51 Fizz
52
53
54 Fizz
55 Buzz
56
57 Fizz
58
59
60 FizzBuzz
61
62
63 Fizz
64
65 Buzz
66 Fizz
67
68
69 Fizz
70 Buzz
71
72 Fizz
73
74
75 FizzBuzz
76
77
78 Fizz
79
80 Buzz
81 Fizz
82
83
84 Fizz
85 Buzz
86
87 Fizz
88
89
90 FizzBuzz
91
92
93 Fizz
94
95 Buzz
96 Fizz
97
98
99 Fizz
100 Buzz

View Diff

1c1,100
< 
---
> 1
> 2
> 3 Fizz
> 4
> 5 Buzz
> 6 Fizz
> 7
> 8
> 9 Fizz
> 10 Buzz
> 11
> 12 Fizz
> 13
> 14
> 15 FizzBuzz
> 16
> 17
> 18 Fizz
> 19
> 20 Buzz
> 21 Fizz
> 22
> 23
> 24 Fizz
> 25 Buzz
> 26
> 27 Fizz
> 28
> 29
> 30 FizzBuzz
> 31
> 32
> 33 Fizz
> 34
> 35 Buzz
> 36 Fizz
> 37
> 38
> 39 Fizz
> 40 Buzz
> 41
> 42 Fizz
> 43
> 44
> 45 FizzBuzz
> 46
> 47
> 48 Fizz
> 49
> 50 Buzz
> 51 Fizz
> 52
> 53
> 54 Fizz
> 55 Buzz
> 56
> 57 Fizz
> 58
> 59
> 60 FizzBuzz
> 61
> 62
> 63 Fizz
> 64
> 65 Buzz
> 66 Fizz
> 67
> 68
> 69 Fizz
> 70 Buzz
> 71
> 72 Fizz
> 73
> 74
> 75 FizzBuzz
> 76
> 77
> 78 Fizz
> 79
> 80 Buzz
> 81 Fizz
> 82
> 83
> 84 Fizz
> 85 Buzz
> 86
> 87 Fizz
> 88
> 89
> 90 FizzBuzz
> 91
> 92
> 93 Fizz
> 94
> 95 Buzz
> 96 Fizz
> 97
> 98
> 99 Fizz
> 100 Buzz

Solutions by @JordanALewis:

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

188 active golfers, 713 entries

Solutions by @JordanALewis:
82
#160 - Jordan Lewis / @JordanALewis

12/28/2010 at 11:42PM