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
#31 - Kerson Hsiao / @KersonHsiao

07/11/2014 at 04:42AM

20
#32 - playalong / @playwithit42

07/11/2014 at 05:53AM

20
#33 - Garrett Heaver / @garrettheaver

07/11/2014 at 11:08AM

20
#34 - Dmitry Teslenko / @krab_mozga

07/11/2014 at 12:41PM

20
#35 - Bart / @oneofmanybarts

07/11/2014 at 02:25PM

20
#36 - magizbox / @rain_1024

07/12/2014 at 11:55PM

20
#37 - Vim Golfer / @thevimgolfer

07/13/2014 at 10:21AM

20
#38 - buz / @buzbone

07/13/2014 at 05:36PM

20
#39 - Marco Biasini / @biasmv

07/13/2014 at 07:00PM

20
#40 - Grigoriy Alexeev / @GrigoriyAlexeev

07/13/2014 at 07:04PM

20
#41 - RiccardoSven Risuleo / @riccardosven

07/17/2014 at 01:03PM

20
#42 - Ben Zittlau / @benzittlau

07/18/2014 at 06:39PM

20
#43 - Donald Fenniak / @DFenniak

07/18/2014 at 07:05PM

20
#44 - Yann Moisan / @YannMoisan

07/18/2014 at 08:18PM

20
#45 - Pete Johns / @johnsyweb

07/20/2014 at 02:26AM

20
#46 - Dominik Szerszeń / @DominikSze

07/22/2014 at 01:28PM

20
#47 - Forrest Zeisler / @fzeisler

07/23/2014 at 05:05AM

20
#48 - Zapata / @Incredible_JFP

07/28/2014 at 08:12PM

20
#49 - Slartibartfast / @S_Bartfast

08/01/2014 at 11:09AM

20
#50 - David Wilkins / @davewilkins_oc

08/02/2014 at 02:42AM

20
#51 - Pepe / @GomTvIneluki

08/15/2014 at 10:40PM

20
#52 - Massimo Gengarelli / @gengaro

08/17/2014 at 03:22PM

20
#53 - Dmitriy / @_dpy_

08/21/2014 at 12:04PM

20
#54 - James / @Dronak

08/21/2014 at 05:47PM

20
#55 - Martin Thoresen / @MartinHaTh

08/25/2014 at 11:29AM

20
#56 - Justin Knag / @justinknag

08/30/2014 at 10:48AM

20
#57 - Qhuatre / @Qhuatre

09/02/2014 at 08:49PM

20
#58 - Dario Avitabile / @tutticapaci

09/08/2014 at 03:51PM

20
#59 - Jeff / @just_geophree

09/13/2014 at 07:54PM

20
#60 - Sabiki94@ブルスクの人 / @_jptomoya

10/18/2014 at 09:12AM