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 92 remaining solutions by signing in and submitting your own entry
#93 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

93 active golfers, 205 entries

Leaderboard (lowest score wins):
20
#61 - eBrnd / @eBrnd

11/02/2014 at 08:39PM

20
#62 - mark0829 / @mark0829

02/06/2015 at 06:29AM

20
#63 - Oliver Christ / @0liverChrist

02/08/2015 at 09:24PM

20
#64 - Konr Larson / @larsonkonr

03/20/2015 at 05:26PM

20
#65 - ಸುಬ್ರಹ್ಮಣ್ಯ ಜೋಶಿ / @subbucoding

04/01/2015 at 12:23AM

20
#66 - pftb12345 / @pftb12345

04/09/2015 at 06:07AM

20
#67 - Grisha Pushkov / @readoonly

05/25/2015 at 11:28AM

20
#68 - Jack Z / @itszhou

06/28/2015 at 08:50PM

20
#69 - ltn614 / @ltn614

09/22/2015 at 05:50PM

20
#70 - Stanislav / @prstad

08/23/2016 at 11:06AM

20
#71 - Andrius Bentkus / @andriusbentkus

08/09/2018 at 12:41PM

21
#72 - CJ Avilla / @wizemanip

07/10/2014 at 06:03AM

21
#73 - Bakhti Aripov / @bakhti

07/10/2014 at 06:54PM

21
#74 - Matthias Wolf / @matz__e

07/11/2014 at 01:47PM

21
#75 - Matt / @mcr05

01/04/2015 at 09:20AM

22
#76 - Tom Richards / @the_tomrichards

07/10/2014 at 08:39PM

22
#77 - Florian Duraffourg / @fduraffourg

07/12/2014 at 07:49AM

22
#78 - Tj / @yrddy

08/13/2014 at 06:32AM

22
#79 - SilentFl / @Silent_Fl

01/27/2015 at 02:27PM

22
#80 - Jeffrey Gu / @Jeffrey_Gu

03/20/2015 at 05:24PM

23
#81 - Josh Gilkerson / @JoshGilk

07/11/2014 at 05:53PM

23
#82 - Walker Boh / @walker_boh

10/16/2015 at 03:10PM

24
#83 - Paul Rodgers / @oursjaune

07/10/2014 at 06:39PM

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

01/18/2015 at 04:04PM

30
#85 - Dirk Willrodt / @DirkWillrodt

07/10/2014 at 04:43PM

31
#86 - yamasita taisuke / @yaasita

07/11/2014 at 12:02PM

31
#87 - Gurukandhamoorthi / @Gurukandhamoor1

08/13/2017 at 04:02PM

36
#88 - Kaustubh Murumkar / @k_austub_h

09/28/2020 at 05:11PM

38
#89 - Ben Turner / @phantomwhale

07/10/2014 at 04:57AM

43
#90 - RobertT / @techrt2050

07/10/2014 at 05:42AM