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):
49
#31 - Dimitar Dimitrov / @kurkale6ka

03/10/2016 at 03:58PM

49
#32 - Josh Callender / @Saponifi3d

10/28/2016 at 05:59AM

49
#33 - Hydrazar / @hydrazar

11/15/2021 at 12:38AM

50
#34 - Pete Johns / @johnsyweb

01/17/2011 at 09:19AM

50
#35 - Wei Dai / @clvv42

01/18/2011 at 02:13AM

50
#36 - Steve Morrow / @yawmark

01/26/2011 at 09:01PM

50
#37 - Justin Love / @wondible

06/11/2011 at 12:46PM

50
#38 - Hu Junfeng / @junfeng

07/16/2011 at 06:07AM

50
#39 - Ivan Evtukhovich / @evtuhovich

08/28/2011 at 07:55AM

50
#40 - quintin / @quintinjeannoel

08/29/2011 at 10:36PM

50
#41 - Zeh Rizzatti / @zehrizzatti

02/06/2012 at 05:46AM

50
#42 - a24f0600 / @a24f0600

12/17/2012 at 04:12PM

50
#43 - newton / @newtonsmartt

10/15/2013 at 09:02PM

50
#44 - Roger Bongers / @RogerBongers

05/09/2019 at 03:34PM

54
#45 - John Anderson / @opejn

12/24/2011 at 07:31AM

55
#46 - derp derp / @derp__

01/01/2011 at 08:08PM

55
#47 - Clément Nodet / @clementnodet

01/03/2011 at 11:28PM

55
#48 - Benoît Ryder / @benoitryder

01/04/2011 at 12:16AM

55
#49 - Balkoth / @_Balkoth_

01/08/2011 at 05:19PM

55
#50 - h_east (トロッコ6個) / @h_east

01/15/2011 at 11:57AM

55
#51 - Ben Griffiths / @beng

01/19/2011 at 01:46AM

55
#52 - vimja / @vimja666

11/01/2011 at 12:53PM

55
#53 - Pawel Obrok / @mrYapee

03/13/2012 at 09:37PM

55
#54 - Darcy Parker / @DarcyParker

10/17/2012 at 11:46PM

55
#55 - Hubba / @HubbaBubbaFett

12/12/2012 at 07:57PM

55
#56 - Casey Dwyer / @caseydwyer

11/04/2013 at 12:32AM

55
#57 - Saki Gw / @Sakigw

12/10/2016 at 04:39AM

56
#58 - clint tseng / @cxlt

12/29/2010 at 09:26PM

56
#59 - Josh Weinberg / @jcweinberg

12/30/2010 at 01:30AM

56
#60 - Ben Lenarts / @benlenarts

12/30/2010 at 10:27AM