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

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

40 active golfers, 99 entries

Solutions by @_jdomingue:
25
#6 - Domingue Justin / @_jdomingue

12/28/2013 at 09:43PM

27
#>15 - Domingue Justin / @_jdomingue

12/27/2013 at 03:35PM

28
#>18 - Domingue Justin / @_jdomingue

12/27/2013 at 03:32PM

51
#>39 - Domingue Justin / @_jdomingue

12/26/2013 at 11:39PM

53
#>39 - Domingue Justin / @_jdomingue

12/26/2013 at 11:32PM

76
#>40 - Domingue Justin / @_jdomingue

12/26/2013 at 10:49PM