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):
20
#61 - Dmitriy / @_dpy_

08/21/2014 at 12:04PM

20
#62 - James / @Dronak

08/21/2014 at 05:47PM

20
#63 - Martin Thoresen / @MartinHaTh

08/25/2014 at 11:29AM

20
#64 - Justin Knag / @justinknag

08/30/2014 at 10:48AM

20
#65 - Qhuatre / @Qhuatre

09/02/2014 at 08:49PM

20
#66 - Dario Avitabile / @tutticapaci

09/08/2014 at 03:51PM

20
#67 - Jeff / @just_geophree

09/13/2014 at 07:54PM

20
#68 - jptomoya / @_jptomoya

10/18/2014 at 09:12AM

20
#69 - eBrnd / @eBrnd

11/02/2014 at 08:39PM

20
#70 - mark0829 / @mark0829

02/06/2015 at 06:29AM

20
#71 - Oliver Christ / @0liverChrist

02/08/2015 at 09:24PM

20
#72 - Konr Larson / @larsonkonr

03/20/2015 at 05:26PM

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

04/01/2015 at 12:23AM

20
#74 - pftb12345 / @pftb12345

04/09/2015 at 06:07AM

20
#75 - Grisha Pushkov / @readoonly

05/25/2015 at 11:28AM

20
#76 - Jack Z / @itszhou

06/28/2015 at 08:50PM

20
#77 - ltn614 / @ltn614

09/22/2015 at 05:50PM

20
#78 - Stanislav / @prstad

08/23/2016 at 11:06AM

20
#79 - Andrius Bentkus / @andriusbentkus

08/09/2018 at 12:41PM

20
#80 - Olivier Bégassat / @zk_evm

06/15/2023 at 11:49AM

21
#81 - CJ Avilla / @cjav_dev

07/10/2014 at 06:03AM

21
#82 - Bakhti Aripov / @bakhti

07/10/2014 at 06:54PM

21
#83 - Matthias Wolf / @matz__e

07/11/2014 at 01:47PM

21
#84 - Matt / @mcr05

01/04/2015 at 09:20AM

22
#85 - Tom Richards / @the_tomrichards

07/10/2014 at 08:39PM

22
#86 - Florian Duraffourg / @fduraffourg

07/12/2014 at 07:49AM

22
#87 - Tj / @yrddy

08/13/2014 at 06:32AM

22
#88 - SilentFl / @Silent_Fl

01/27/2015 at 02:27PM

22
#89 - Jeffrey Gu / @Jeffrey_Gu

03/20/2015 at 05:24PM

23
#90 - Josh Gilkerson / @JoshGilk

07/11/2014 at 05:53PM