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

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 165 remaining solutions by signing in and submitting your own entry
#166 Markus Schnell / @m_schnell - Score: 1109 - 12/29/10 @ 10:14
1<CR>2<CR>3 Fizz<CR>4<CR>5 Buzz<CR>6 Fizz<CR>7<CR>8<CR>9 Fizz<CR>10 Buzz<CR>11<CR>12 Fizz<CR>13<CR>14<CR>15 FizzBuzz<CR>16<CR>17<CR>18 Fizz<CR>19<CR>20 Buzz<CR>21 Fizz<CR>22<CR>23<CR>24 Fizz<CR>25 Buzz<CR>26<CR>27 Fizz<CR>28<CR>29<CR>30 FizzBuzz<CR>31<CR>32<CR>33 Fizz<CR>34<CR>35 Buzz<CR>36 Fizz<CR>37<CR>38<CR>39 Fizz<CR>40 Buzz<CR>41<CR>42 Fizz<CR>43<CR>44<CR>45 FizzBuzz<CR>46<CR>47<CR>48 Fizz<CR>49<CR>50 Buzz<CR>51 Fizz<CR>52<CR>53<CR>54 Fizz<CR>55 Buzz<CR>56<CR>57 Fizz<CR>58<CR>59<CR>60 FizzBuzz<CR>61<CR>62<CR>63 Fizz<CR>64<CR>65 Buzz<CR>66 Fizz<CR>67<CR>68<CR>69 Fizz<CR>70 Buzz<CR>71<CR>72 Fizz<CR>73<CR>74<CR>75 FizzBuzz<CR>76<CR>77<CR>78 Fizz<CR>79<CR>80 Buzz<CR>81 Fizz<CR>82<CR>83<CR>84 Fizz<CR>85 Buzz<CR>86<CR>87 Fizz<CR>88<CR>89<CR>90 FizzBuzz<CR>91<CR>92<CR>93 Fizz<CR>94<CR>95 Buzz<CR>96 Fizz<CR>97<CR>98<CR>99 Fizz<CR>100 Buzzi1<CR>2<CR>3 Fizz<CR>4<CR>5 Buzz<CR>6 Fizz<CR>7<CR>8<CR>9 Fizz<CR>10 Buzz<CR>11<CR>12 Fizz<CR>13<CR>14<CR>15 FizzBuzz<CR>16<CR>17<CR>18 Fizz<CR>19<CR>20 Buzz<CR>21 Fizz<CR>22<CR>23<CR>24 Fizz<CR>25 Buzz<CR>26<CR>27 Fizz<CR>28<CR>29<CR>30 FizzBuzz<CR>31<CR>32<CR>33 Fizz<CR>34<CR>35 Buzz<CR>36 Fizz<CR>37<CR>38<CR>39 Fizz<CR>40 Buzz<CR>41<CR>42 Fizz<CR>43<CR>44<CR>45 FizzBuzz<CR>46<CR>47<CR>48 Fizz<CR>49<CR>50 Buzz<CR>51 Fizz<CR>52<CR>53<CR>54 Fizz<CR>55 Buzz<CR>56<CR>57 Fizz<CR>58<CR>59<CR>60 FizzBuzz<CR>61<CR>62<CR>63 Fizz<CR>64<CR>65 Buzz<CR>66 Fizz<CR>67<CR>68<CR>69 Fizz<CR>70 Buzz<CR>71<CR>72 Fizz<CR>73<CR>74<CR>75 FizzBuzz<CR>76<CR>77<CR>78 Fizz<CR>79<CR>80 Buzz<CR>81 Fizz<CR>82<CR>83<CR>84 Fizz<CR>85 Buzz<CR>86<CR>87 Fizz<CR>88<CR>89<CR>90 FizzBuzz<CR>91<CR>92<CR>93 Fizz<CR>94<CR>95 Buzz<CR>96 Fizz<CR>97<CR>98<CR>99 Fizz<CR>100 Buzz<Esc>:wq<CR>

0 comments


Created by: @JordanALewis

166 active golfers, 587 entries

Leaderboard (lowest score wins):
66
#121 - cj / @cj01101

01/30/2014 at 07:58PM

67
#122 - Reed Riley / @ReedRile

08/13/2012 at 06:44PM

67
#123 - Jesse Weaver / @jessepweaver

08/16/2012 at 04:39AM

67
#124 - creativedutchmen / @creativedutch

02/10/2016 at 12:41PM

68
#125 - Jacob Miller / @pwnies

12/29/2010 at 01:51AM

68
#126 - vg / @vimgolfer

02/23/2011 at 11:23AM

68
#127 - Kristopher Urie / @kristopherurie

02/12/2012 at 05:56AM

70
#128 - Dan Oneata / @DanOneata

08/07/2012 at 07:16AM

71
#129 - Dezső Zoltán / @zakiazigazi

12/30/2010 at 10:43PM

71
#130 - Lieven Keersmaekers / @LievenKeersmaek

01/18/2013 at 06:23PM

73
#131 - Daniel Gray / @DanielFGray

10/15/2013 at 08:20AM

74
#132 - 十郎☔ / @juro106

04/13/2020 at 03:54PM

75
#133 - Bob↑↑↑Rubbens / @broervanlisa

03/10/2016 at 04:14PM

76
#134 - Jason Then / @racc69

08/09/2011 at 12:26AM

76
#135 - ajh / @AlexJHammel

12/24/2012 at 03:09PM

78
#136 - Gurukandhamoorthi / @Gurukandhamoor1

07/28/2017 at 02:08PM

79
#137 - Andrey Ivanov / @Bytamine

08/09/2011 at 12:19PM

79
#138 - Oliver Christ / @0liverChrist

10/15/2013 at 09:43PM

80
#139 - Behnam Esfahbod / @zwnj

12/31/2010 at 02:37PM

80
#140 - Ruy Diaz / @diazruy

03/20/2011 at 02:11AM

82
#141 - Jordan Lewis / @JordanALewis

12/28/2010 at 11:42PM

82
#142 - Vestrobaa / @Vestrobaa

07/21/2013 at 09:05PM

84
#143 - Karel Vervaeke / @karel1980

01/06/2011 at 09:02PM

84
#144 - Xavier Nayrac / @lkdjiin

12/29/2011 at 03:38PM

88
#145 - Dhruva Sagar / @dhruvasagar

12/29/2010 at 03:30PM

90
#146 - dominique pellé / @vimgolfisto

01/01/2011 at 04:56PM

91
#147 - Mike Plotz / @antisuji

12/29/2010 at 03:17AM

91
#148 - Jes / @vim_jes

01/13/2011 at 11:11PM

94
#149 - Peter Stuifzand / @pstuifzand

12/29/2010 at 12:59AM

94
#150 - Tyler Carson / @tylerccarson

03/18/2022 at 11:49PM