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

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

197 active golfers, 473 entries

Solutions by @YannMoisan:
12
#7 - Yann Moisan / @YannMoisan

01/03/2014 at 07:13PM

13
#>43 - Yann Moisan / @YannMoisan

01/03/2014 at 07:10PM

14
#>115 - Yann Moisan / @YannMoisan

01/03/2014 at 05:51PM

15
#>150 - Yann Moisan / @YannMoisan

01/03/2014 at 05:50PM

16
#>160 - Yann Moisan / @YannMoisan

01/28/2013 at 08:58PM

16
#>163 - Yann Moisan / @YannMoisan

01/03/2014 at 05:48PM

19
#>176 - Yann Moisan / @YannMoisan

01/28/2013 at 08:55PM

23
#>183 - Yann Moisan / @YannMoisan

01/03/2014 at 05:49PM