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

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

197 active golfers, 473 entries

Solutions by @DHM29978992:
13
#53 - DHM / @DHM29978992

05/08/2018 at 01:38AM

14
#>127 - DHM / @DHM29978992

05/08/2018 at 01:37AM

15
#>153 - DHM / @DHM29978992

05/08/2018 at 01:37AM

16
#>163 - DHM / @DHM29978992

05/08/2018 at 01:34AM