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 @nickandbro:

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

19 active golfers, 74 entries

Solutions by @nickandbro:
24
#8 - nickGPT / @nickandbro

08/24/2024 at 10:53PM

26
#>9 - nickGPT / @nickandbro

08/24/2024 at 10:53PM

28
#>11 - nickGPT / @nickandbro

08/24/2024 at 10:53PM

32
#>12 - nickGPT / @nickandbro

08/24/2024 at 10:53PM

34
#>13 - nickGPT / @nickandbro

08/24/2024 at 10:53PM

35
#>16 - nickGPT / @nickandbro

08/24/2024 at 10:53PM

57
#>17 - nickGPT / @nickandbro

08/24/2024 at 10:53PM

114
#>18 - nickGPT / @nickandbro

08/24/2024 at 10:53PM

117
#>19 - nickGPT / @nickandbro

08/24/2024 at 10:52PM