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
<html>
  <head>
    <title>Vim Rocks!</title>
  </head>
  <body>
    <h1>So does Haml</h1>
  </body>
</html>
End file
%html
  %head
    %title Vim Rocks!
  %body
    %h1 So does Haml

View Diff

1,8c1,5
< <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 @robrob12:

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

197 active golfers, 800 entries

Solutions by @robrob12:
27
#29 - Robert Robotter / @robrob12

07/20/2011 at 08:59AM

31
#>67 - Robert Robotter / @robrob12

07/20/2011 at 08:15AM

32
#>72 - Robert Robotter / @robrob12

07/20/2011 at 07:06AM

32
#>72 - Robert Robotter / @robrob12

07/20/2011 at 07:17AM

32
#>72 - Robert Robotter / @robrob12

07/20/2011 at 07:51AM

32
#>72 - Robert Robotter / @robrob12

07/20/2011 at 08:04AM

32
#>72 - Robert Robotter / @robrob12

07/20/2011 at 08:13AM

34
#>83 - Robert Robotter / @robrob12

07/20/2011 at 07:09AM

36
#>86 - Robert Robotter / @robrob12

07/20/2011 at 06:30AM

38
#>93 - Robert Robotter / @robrob12

07/20/2011 at 06:46AM

39
#>99 - Robert Robotter / @robrob12

07/20/2011 at 06:40AM

42
#>124 - Robert Robotter / @robrob12

07/19/2011 at 02:18PM

43
#>129 - Robert Robotter / @robrob12

07/19/2011 at 02:17PM

65
#>188 - Robert Robotter / @robrob12

07/19/2011 at 01:38PM