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

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

202 active golfers, 842 entries

Solutions by @charpmanu:
28
#46 - echarp / @charpmanu

11/10/2011 at 07:42PM

29
#>47 - echarp / @charpmanu

11/10/2011 at 03:14PM

30
#>50 - echarp / @charpmanu

11/10/2011 at 03:05PM

30
#>50 - echarp / @charpmanu

11/10/2011 at 03:09PM

34
#>85 - echarp / @charpmanu

11/10/2011 at 02:37PM

34
#>85 - echarp / @charpmanu

11/10/2011 at 02:54PM

35
#>86 - echarp / @charpmanu

11/10/2011 at 01:39PM

36
#>88 - echarp / @charpmanu

11/10/2011 at 01:30PM

37
#>92 - echarp / @charpmanu

11/10/2011 at 01:11PM

39
#>102 - echarp / @charpmanu

11/10/2011 at 12:11AM

43
#>132 - echarp / @charpmanu

11/09/2011 at 11:56PM

44
#>136 - echarp / @charpmanu

11/09/2011 at 08:42PM

44
#>136 - echarp / @charpmanu

11/09/2011 at 08:50PM

45
#>139 - echarp / @charpmanu

11/09/2011 at 04:26PM

46
#>147 - echarp / @charpmanu

11/09/2011 at 03:07PM

48
#>158 - echarp / @charpmanu

11/09/2011 at 02:59PM