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 9v0062cda991000000000223

Fizzbuzz

type the first 100 lines of the fizzbuzz problem

Start file

End file
1
2
Fizz
4
Buzz
Fizz
7
8
Fizz
Buzz
11
Fizz
13
14
Fizzbuzz
16
17
Fizz
19
Buzz
Fizz
22
23
Fizz
Buzz
26
Fizz
28
29
Fizzbuzz
31
32
Fizz
34
Buzz
Fizz
37
38
Fizz
Buzz
41
Fizz
43
44
Fizzbuzz
46
47
Fizz
49
Buzz
Fizz
52
53
Fizz
Buzz
56
Fizz
58
59
Fizzbuzz
61
62
Fizz
64
Buzz
Fizz
67
68
Fizz
Buzz
71
Fizz
73
74
Fizzbuzz
76
77
Fizz
79
Buzz
Fizz
82
83
Fizz
Buzz
86
Fizz
88
89
Fizzbuzz
91
92
Fizz
94
Buzz
Fizz
97
98
Fizz
Buzz

View Diff

1,2c1,100
< 
< 
---
> 1
> 2
> Fizz
> 4
> Buzz
> Fizz
> 7
> 8
> Fizz
> Buzz
> 11
> Fizz
> 13
> 14
> Fizzbuzz
> 16
> 17
> Fizz
> 19
> Buzz
> Fizz
> 22
> 23
> Fizz
> Buzz
> 26
> Fizz
> 28
> 29
> Fizzbuzz
> 31
> 32
> Fizz
> 34
> Buzz
> Fizz
> 37
> 38
> Fizz
> Buzz
> 41
> Fizz
> 43
> 44
> Fizzbuzz
> 46
> 47
> Fizz
> 49
> Buzz
> Fizz
> 52
> 53
> Fizz
> Buzz
> 56
> Fizz
> 58
> 59
> Fizzbuzz
> 61
> 62
> Fizz
> 64
> Buzz
> Fizz
> 67
> 68
> Fizz
> Buzz
> 71
> Fizz
> 73
> 74
> Fizzbuzz
> 76
> 77
> Fizz
> 79
> Buzz
> Fizz
> 82
> 83
> Fizz
> Buzz
> 86
> Fizz
> 88
> 89
> Fizzbuzz
> 91
> 92
> Fizz
> 94
> Buzz
> Fizz
> 97
> 98
> Fizz
> 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 26 remaining solutions by signing in and submitting your own entry
#27 Jingshan Yin / @Jingshan1989 - Score: 423 - 07/13/22 @ 18:55
i1<CR>2<CR>Fizz<Esc>yyo4<CR>Buzz<CR><Esc>kpo7<CR>8<Esc>poBuzz<CR>11<Esc>po13<CR>14<CR>Fizzbuzz<CR>16<CR>17<Esc>po19<CR>Buzz<Esc>po22<CR>23<Esc>poBuzz<CR>26<Esc>po28<CR>29<CR>Fizzbuzz<CR>1<BS>31<CR>32<Esc>po34<CR>Buzz<Esc>po37<CR>38<Esc>poBuzz<CR>41<Esc>po43<CR>44<CR>B<BS>Fizzbuzz<CR>46<CR>47<Esc>po48<BS>9<CR>Buzz<CR>51<CR>52<BS><BS><Esc>kxxPPxxiFizz<Esc>yyo52<CR>53<Esc>poBuzz<CR>56<CR>57<BS><BS><BS><Esc>po58<CR>59<CR>Fizzbuzz<CR>61<CR>62<Esc>po64<CR>Buzz<Esc>po67<CR>68<Esc>poBuzz<CR>71<Esc>po73<CR>74<CR>Fizzbuzz<CR>76<CR>77<Esc>po79<CR>Buzz<Esc>po82<CR>83<Esc>poBuzz<CR>86<Esc>po88<CR>89<CR>Buzz<Esc>po92<Esc>kddddi91<Esc>kddc$Fizzbuzz<CR>91<CR>92<CR>Fizz<Esc>yyo94<CR>Buzz<Esc>po97<CR>98<Esc>p<CR>Buu<Esc>u<C-R><C-R><C-R>jjiBuzz<Esc>jdd:wq<CR>

0 comments


Created by: @Marco73364768

27 active golfers, 69 entries

Leaderboard (lowest score wins):
47
#1 - wpr__ / @wpr____

07/14/2022 at 12:54PM

47
#2 - John Braxler / @braxler

07/14/2022 at 01:52PM

47
#3 - Saki Gw / @Sakigw

07/14/2022 at 04:31PM

47
#4 - Jean George / @JeanGeo20504212

07/15/2022 at 12:02AM

47
#5 - Danilo J. S. Bellini / @danilobellini

07/18/2022 at 03:23AM

47
#6 - Irakli Chigvaria / @tchigvaria

07/22/2022 at 06:16AM

47
#7 - Jon Krause / @jkrause314

07/24/2022 at 05:18PM

47
#8 - Александр Черенков / @AleksandrCeren3

07/25/2022 at 04:31AM

48
#9 - Smylers / @Smylers2

07/15/2022 at 12:55PM

59
#10 - satetheus-vimgolf / @SVimgolf

07/19/2022 at 10:34PM

65
#11 - cqjxx / @cqjxx1

07/18/2022 at 01:19PM

69
#12 - nauj / @nauj_w

07/27/2022 at 03:23PM

71
#13 - 6-viron / @6_viron

07/13/2022 at 06:44PM

71
#14 - mika / @mika31120321

07/31/2022 at 09:43AM

73
#15 - anakojm / @anakojm

07/22/2022 at 05:26PM

77
#16 - Binoy / @_slashbin

07/25/2022 at 05:30AM

78
#17 - ShookerAndBeta / @Shooker2012

07/14/2022 at 07:30AM

84
#18 - TimMcGuire / @mcguire

07/12/2022 at 09:03PM

87
#19 - Batrr / @Batrr9

07/13/2022 at 03:23PM

94
#20 - Marco / @Marco73364768

07/12/2022 at 05:24PM

95
#21 - Nougatine Naja / @NougatineNaja

07/15/2022 at 03:41PM

98
#22 - Daniel Enrico Botta / @danenbo

07/29/2022 at 10:12AM

101
#23 - Temirlan Baibolov / @bthero03

07/12/2022 at 10:20PM

129
#24 - Joey E / @GigachadJoe

07/19/2022 at 12:35AM

267
#25 - damien / @GreatTestyTest

07/12/2022 at 08:26PM

330
#26 - fraktal / @FraktalRebirth

08/03/2022 at 01:43PM

423
#27 - Jingshan Yin / @Jingshan1989

07/13/2022 at 06:55PM