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

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

176 active golfers, 387 entries

Solutions by @sedm0784:
15
#140 - Rich Cheng / @sedm0784

09/14/2018 at 09:19AM

19
#>161 - Rich Cheng / @sedm0784

09/14/2018 at 09:12AM

21
#>163 - Rich Cheng / @sedm0784

09/14/2018 at 09:07AM

24
#>166 - Rich Cheng / @sedm0784

09/14/2018 at 08:48AM

31
#>170 - Rich Cheng / @sedm0784

09/14/2018 at 09:05AM