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):
60
#91 - Simon Scarfe / @simonscarfe

09/06/2011 at 12:50PM

60
#92 - くま ก็็็็็็็็็็็็็ʕ•͡ᴥ•ʔ ก้้้้้้้้้้้ 55 / @kumack55

04/04/2013 at 01:57AM

60
#93 - Michał Bielawski / @m_bielawski

10/15/2013 at 08:16AM

60
#94 - James / @Dronak

09/22/2014 at 03:11AM

60
#95 - Andreas Carben / @meiner_eins

03/12/2016 at 09:47AM

61
#96 - senokay / @senokay

12/29/2010 at 06:14AM

61
#97 - Ujjwol Lamichhane / @Ujjwol

01/06/2011 at 11:54AM

61
#98 - Tim Tsu / @vimgolfpunk

08/29/2011 at 08:44AM

61
#99 - Kurt Gaastra / @KGaastra

02/17/2012 at 12:19AM

61
#100 - Kathryn / @hartknyx

05/17/2013 at 02:10AM

61
#101 - Eric Potter / @pottereric

06/11/2013 at 12:48PM

62
#102 - Dave / @zzdave13

08/02/2011 at 07:59PM

62
#103 - William Dunand / @wdunand

12/07/2011 at 09:57AM

62
#104 - tmr / @tmr314

09/05/2012 at 08:52PM

62
#105 - Mikko Loponen / @lopossumi

11/02/2012 at 02:01PM

63
#106 - Ilya Strukov / @i1ey

05/01/2011 at 06:18PM

63
#107 - Peter Anselmo / @peter_anselmo

06/24/2011 at 07:55PM

63
#108 - Sammasati / @sammasati0

07/15/2011 at 05:36PM

63
#109 - OMF / @exolon

05/30/2012 at 02:15AM

63
#110 - Adam McLain / @adammclain

10/03/2013 at 02:49AM

63
#111 - Brian / @wyantb_reader

06/26/2014 at 01:27AM

64
#112 - jacobangel / @jacobangel

01/13/2011 at 04:38AM

64
#113 - Underhill Labs / @underhilllabs

10/31/2012 at 05:33AM

64
#114 - うえっち / @uh_tomo

12/04/2012 at 06:19PM

64
#115 - aisapatino / @aisapatino

03/29/2016 at 11:51PM

64
#116 - DHM / @DHM29978992

05/01/2018 at 03:31AM

65
#117 - Leonard Chin / @lchin

12/30/2010 at 05:48PM

65
#118 - Alex / @AlexanderHeatl2

06/05/2022 at 04:57PM

66
#119 - Rob Howard / @damncabbage

12/29/2010 at 12:18PM

66
#120 - uuu / @uu59

12/29/2010 at 07:40PM