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 4d3c51f1aabf526ed6000030

HTML to Haml

Help convert this HTML page to Haml.

Start file
    <title>Vim Rocks!</title>
    <h1>So does Haml</h1>
End file
    %title Vim Rocks!
    %h1 So does Haml

View Diff

< <html>
<   <head>
<     <title>Vim Rocks!</title>
<   </head>
<   <body>
<     <h1>So does Haml</h1>
<   </body>
< </html>
> %html
>   %head
>     %title Vim Rocks!
>   %body
>     %h1 So does Haml

Solutions by @Coornail:

Unlock 1 remaining solutions by signing in and submitting your own entry
Created by: @bradly

199 active golfers, 820 entries

Solutions by @Coornail:
#196 - Kornél Lugosi / @Coornail

05/28/2011 at 03:45PM