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 by @braxler:

Unlock 5 remaining solutions by signing in and submitting your own entry
Created by: @TitouanT_

14 active golfers, 51 entries

Solutions by @braxler:
24
#3 - John Braxler / @braxler

03/15/2019 at 01:20PM

26
#>5 - John Braxler / @braxler

03/14/2019 at 01:48PM

28
#>6 - John Braxler / @braxler

03/14/2019 at 01:34PM

32
#>7 - John Braxler / @braxler

03/14/2019 at 01:31PM

35
#>10 - John Braxler / @braxler

03/14/2019 at 01:25PM