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 52bc9404cbab90000200001c

O Christmas Tree

Design a macro that makes trees grow (or ASCII triangles, if that's too hard).

Start file
^

End file
^

 ^
^^^

  ^
 ^^^
^^^^^

   ^
  ^^^
 ^^^^^
^^^^^^^

    ^
   ^^^
  ^^^^^
 ^^^^^^^
^^^^^^^^^

View Diff

2a3,20
>  ^
> ^^^
> 
>   ^
>  ^^^
> ^^^^^
> 
>    ^
>   ^^^
>  ^^^^^
> ^^^^^^^
> 
>     ^
>    ^^^
>   ^^^^^
>  ^^^^^^^
> ^^^^^^^^^
> 

Solutions by @atokuda:

Unlock 3 remaining solutions by signing in and submitting your own entry
Created by: @udioica

40 active golfers, 99 entries

Solutions by @atokuda:
31
#28 - Allan Tokuda / @atokuda

12/26/2013 at 10:20PM

66
#>40 - Allan Tokuda / @atokuda

12/26/2013 at 10:01PM

73
#>40 - Allan Tokuda / @atokuda

12/26/2013 at 09:53PM