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 508fe9f57acca60002000037

Stairs Indenting

Indent each line with <line number> whitespaces.

Start file
1
2
3
4
5
6
7
8
9
10
End file
 1
 
2
   
3
   
4
     
5
     
6
       
7
       
8
         
9
         
10

View Diff

1,10c1,10
< 1
< 2
< 3
< 4
< 5
< 6
< 7
< 8
< 9
< 10
---
>  1
>   2
>    3
>     4
>      5
>       6
>        7
>         8
>          9
>           10

Solutions by @po6ix:

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

199 active golfers, 479 entries

Solutions by @po6ix:
14
#134 - POSIX / @po6ix

01/22/2022 at 03:25PM

15
#>155 - POSIX / @po6ix

01/22/2022 at 03:24PM

19
#>179 - POSIX / @po6ix

01/22/2022 at 03:24PM

20
#>181 - POSIX / @po6ix

01/22/2022 at 03:24PM

22
#>184 - POSIX / @po6ix

01/22/2022 at 03:23PM

22
#>184 - POSIX / @po6ix

01/22/2022 at 03:23PM

24
#>185 - POSIX / @po6ix

01/22/2022 at 03:21PM

25
#>188 - POSIX / @po6ix

01/22/2022 at 03:20PM

33
#>192 - POSIX / @po6ix

01/22/2022 at 03:20PM