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

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 102 remaining solutions by signing in and submitting your own entry
#103 mko_io / @mko_io - Score: 79 - 07/11/14 @ 00:07
xi1jj<BS><BS><Esc>jx2i2<C-O><Esc>4<BS><Esc>4<Esc>:4<CR>xi4<C-O>:7<CR>7xjj<BS><BS><BS><Esc>lx:8<CR>s8<C-C><C-C>:11<CR>s11<C-C><C-C>:13<CR>s13<C-C><C-C>:14<CR>x14i14<C-C><C-C>ZZ

0 comments


Created by: @udioica

103 active golfers, 253 entries

Leaderboard (lowest score wins):
23
#91 - Walker Boh / @walker_boh

10/16/2015 at 03:10PM

24
#92 - Paul Rodgers / @oursjaune

07/10/2014 at 06:39PM

29
#93 - Carlos A Henríquez Q / @lagunex

01/18/2015 at 04:04PM

30
#94 - Dirk Willrodt / @DirkWillrodt

07/10/2014 at 04:43PM

31
#95 - yamasita taisuke / @yaasita

07/11/2014 at 12:02PM

31
#96 - Gurukandhamoorthi / @Gurukandhamoor1

08/13/2017 at 04:02PM

33
#97 - heog / @Heogy

04/26/2024 at 12:24PM

36
#98 - Kaustubh Murumkar / @k_austub_h

09/28/2020 at 05:11PM

38
#99 - Ben Turner / @phantomwhale

07/10/2014 at 04:57AM

43
#100 - RobertT / @techrt2050

07/10/2014 at 05:42AM

52
#101 - Pamela Ocampo / @pmocampo

07/11/2014 at 01:02AM

56
#102 - João Carvalho / @joaoCarvas

07/11/2014 at 10:08AM

79
#103 - mko_io / @mko_io

07/11/2014 at 12:07AM