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 53bddd87dbd3db0002c48c0f

Neither Fizz nor Buzz

Not your regular increment macro! The gaps are tricky.

Start file
0
0
Fizz
0
Buzz
Fizz
0
0
Fizz
Buzz
0
Fizz
0
0
FizzBuzz
End file
1
2
Fizz
4
Buzz
Fizz
7
8
Fizz
Buzz
11
Fizz
13
14
FizzBuzz

View Diff

1,2c1,2
< 0
< 0
---
> 1
> 2
4c4
< 0
---
> 4
7,8c7,8
< 0
< 0
---
> 7
> 8
11c11
< 0
---
> 11
13,14c13,14
< 0
< 0
---
> 13
> 14

Solutions by @DontBeAlarmed:

Unlock 4 remaining solutions by signing in and submitting your own entry
Created by: @udioica

103 active golfers, 253 entries

Solutions by @DontBeAlarmed:
13
#14 - Don'tBeAlarmed / @DontBeAlarmed

05/31/2024 at 08:54AM

15
#>26 - Don'tBeAlarmed / @DontBeAlarmed

05/31/2024 at 08:53AM

16
#>31 - Don'tBeAlarmed / @DontBeAlarmed

05/31/2024 at 08:52AM

18
#>31 - Don'tBeAlarmed / @DontBeAlarmed

05/31/2024 at 08:51AM