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 9v006652ccab000000000276

String decompression

3a4b2c => aaabbbbcc. Start a new line when you exceed 79 columns.

Start file
1134 4 13 4 57 6 11 6 56 6 11 6 57 4 13 4 290 1 29 1 49 2 25 2 52 3 19 3 57 5 9 5 63 13 1140 

# vim:list:lcs=nbsp\:@
End file
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               

# vim:list:lcs=nbsp\:@

View Diff

1c1,40
< 1134 4 13 4 57 6 11 6 56 6 11 6 57 4 13 4 290 1 29 1 49 2 25 2 52 3 19 3 57 5 9 5 63 13 1140 
---
>                                                                                
>                                                                                
>                                                                                
>                                                                                
>                                                                                
>                                                                                
>                                                                                
>                                                                                
>                                                                                
>                                                                                
>                                                                                
>                                                                                
>                                                                                
>                                                                                
>                                                                                
>                                                                                
>                                                                                
>                                                                                
>                                                                                
>                                                                                
>                                                                                
>                                                                                
>                                                                                
>                                                                                
>                                                                                
>                                                                                
>                                                                                
>                                                                                
>                                                                                
>                                                                                
>                                                                                
>                                                                                
>                                                                                
>                                                                                
>                                                                                
>                                                                                
>                                                                                
>                                                                                
>                                                                                
>                                                                                

Solutions by @GavinKoeng:

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

13 active golfers, 37 entries

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

12/12/2025 at 04:07PM

29
#>10 - Gavin / @GavinKoeng

12/12/2025 at 04:05PM

32
#>11 - Gavin / @GavinKoeng

12/12/2025 at 04:03PM

64
#>13 - Gavin / @GavinKoeng

12/12/2025 at 04:00PM

66
#>13 - Gavin / @GavinKoeng

12/12/2025 at 03:58PM