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 5c880211ab65cb00065c74eb

Kolakoski sequence -- level 1

Generate the Kolakoski sequence as described by its first 75 terms.

Start file
122
End file
12211212212211211221211212211211212212211212212112112212211212212211211212212112212211212212211211221211212212211

View Diff

1c1
< 122
---
> 12211212212211211221211212211211212212211212212112112212211212212211211212212112212211212212211211221211212212211

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 9 remaining solutions by signing in and submitting your own entry
#10 Petro Тrouq / @zulolosi - Score: 117 - 03/20/19 @ 00:10
C12211212212211211221211212211211212212211212212112112212211212212211211212212112212211212212211211221211212212211<Esc>ZZ

0 comments


Created by: @TitouanT_

10 active golfers, 33 entries

Leaderboard (lowest score wins):
22
#1 - Titouan Teyssier / @TitouanT_

03/14/2019 at 09:52PM

23
#2 - T A / @SirAviles

03/14/2019 at 09:32PM

24
#3 - John Braxler / @braxler

03/15/2019 at 01:20PM

24
#4 - james_bunch / @james_bunch

03/16/2019 at 05:12AM

28
#5 - Smylers / @Smylers2

03/14/2019 at 10:22AM

28
#6 - Jon Krause / @jkrause314

03/17/2019 at 04:10PM

35
#7 - BaffaloP 🐃🎨 / @bbaffalopp

03/12/2019 at 10:46PM

35
#8 - Amado Antonini / @AmadoAntonini

03/13/2019 at 09:38PM

114
#9 - Patrick Lavin / @LavinComputes

03/12/2019 at 09:17PM

117
#10 - Petro Тrouq / @zulolosi

03/20/2019 at 12:10AM