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

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

20 active golfers, 83 entries

Solutions by @GavinKoeng:
24
#9 - Gavin / @GavinKoeng

02/12/2026 at 09:51AM

26
#>10 - Gavin / @GavinKoeng

02/12/2026 at 09:51AM

28
#>12 - Gavin / @GavinKoeng

02/12/2026 at 09:50AM

32
#>13 - Gavin / @GavinKoeng

02/12/2026 at 09:50AM

34
#>14 - Gavin / @GavinKoeng

02/12/2026 at 09:50AM

35
#>17 - Gavin / @GavinKoeng

02/12/2026 at 09:49AM

57
#>18 - Gavin / @GavinKoeng

02/12/2026 at 09:49AM

71
#>18 - Gavin / @GavinKoeng

02/12/2026 at 09:48AM

121
#>20 - Gavin / @GavinKoeng

02/12/2026 at 09:45AM