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

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

10 active golfers, 27 entries

Solutions by @PeppaPi95550250:
27
#2 - Peppa Pig / @PeppaPi95550250

05/27/2024 at 07:51AM