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
The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!
Check out these helpful resources to improve your Vim skills... Game on.
Unlock 42 remaining solutions by signing in and submitting your own entry
#43 Brian Peiris / @brianpeiris - Score: 59 - 12/28/13 @ 04:27
:set list<CR>qq0yGGp0<C-V>GI <Esc>Gkyyp0s^<Esc>$a^<Esc>Gd$qkk@qkkk@qkkkk@q:wq<CR>
0 comments