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

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

193 active golfers, 448 entries

Solutions by @x03n046:
14
#133 - x03n046 / @x03n046

05/13/2022 at 04:25AM

15
#>151 - x03n046 / @x03n046

05/13/2022 at 04:25AM

16
#>161 - x03n046 / @x03n046

05/13/2022 at 04:19AM

16
#>161 - x03n046 / @x03n046

05/13/2022 at 04:24AM