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):
56
#61 - Mikel Ward / @mikelward

12/31/2010 at 03:43AM

56
#62 - Matthew Draper / @_matthewd

12/31/2010 at 12:36PM

56
#63 - Topaz / @topaz2078

12/31/2010 at 05:17PM

56
#64 - Tim Chase / @gumnos

01/02/2011 at 10:21PM

56
#65 - Daumantas / @dbaltrus

05/03/2012 at 04:49AM

56
#66 - I / @ForgetIt17

10/15/2013 at 10:31AM

56
#67 - Cristian Lupașcu / @clupasq

03/10/2016 at 08:28PM

57
#68 - 無ん垢の叫び / @john_ababa

03/13/2012 at 06:12AM

57
#69 - vansan / @VinceVansan

08/25/2012 at 07:47PM

57
#70 - John Addams / @JohnAddams19

02/01/2018 at 09:59PM

57
#71 - ReReReReReちゃんbot / @SCP_FRIENDS_JP

08/10/2019 at 06:56AM

57
#72 - Scott Berger / @scottberger

09/24/2021 at 04:43PM

58
#73 - Matt Mendell / @mpmendell

12/29/2010 at 06:09PM

58
#74 - Douglas Stockwell / @dstockwell

01/02/2011 at 07:43AM

58
#75 - Shawn / @sartak

04/22/2011 at 11:10PM

58
#76 - William Hua / @attente

07/17/2011 at 12:51PM

58
#77 - Joonas Pihlajamaa / @jokkebk

02/20/2014 at 10:01PM

58
#78 - Sntano Euhsk / @SEuhsk

06/15/2014 at 01:25AM

58
#79 - Matt / @mcr05

12/13/2014 at 09:52PM

58
#80 - Jon Krause / @jkrause314

10/07/2015 at 04:20AM

59
#81 - Tordek / @Tordek

12/29/2010 at 08:21AM

59
#82 - pcapriotti / @pcapriotti

12/29/2010 at 12:29PM

59
#83 - Kenny Parnell / @kennyp

01/04/2011 at 11:34PM

59
#84 - Zak van der Merwe / @zakkuuu

07/08/2011 at 07:54PM

59
#85 - David / @dpa_92

08/02/2011 at 09:00AM

59
#86 - Chris Brown / @engineercyb

07/13/2012 at 03:56AM

59
#87 - Matt Boehm / @mattboehm

11/08/2012 at 03:22AM

59
#88 - Tyler / @tylerbindon

03/31/2013 at 05:57AM

59
#89 - brett / @brettyukich

09/24/2013 at 09:37AM

59
#90 - Zach Kemp / @zvksf

12/23/2013 at 05:21PM