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

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

197 active golfers, 800 entries

Solutions by @kimberlycreates:
23
#7 - kimber gonzalez / @kimberlycreates

01/22/2015 at 03:25PM

27
#>36 - kimber gonzalez / @kimberlycreates

01/22/2015 at 03:22PM

27
#>36 - kimber gonzalez / @kimberlycreates

01/22/2015 at 03:23PM

30
#>52 - kimber gonzalez / @kimberlycreates

01/22/2015 at 03:21PM

31
#>70 - kimber gonzalez / @kimberlycreates

01/22/2015 at 03:21PM

32
#>74 - kimber gonzalez / @kimberlycreates

01/22/2015 at 03:21PM

33
#>81 - kimber gonzalez / @kimberlycreates

01/22/2015 at 03:20PM

37
#>90 - kimber gonzalez / @kimberlycreates

01/22/2015 at 03:20PM

39
#>103 - kimber gonzalez / @kimberlycreates

01/22/2015 at 03:19PM

40
#>113 - kimber gonzalez / @kimberlycreates

01/22/2015 at 03:18PM

41
#>119 - kimber gonzalez / @kimberlycreates

01/22/2015 at 03:18PM

42
#>126 - kimber gonzalez / @kimberlycreates

01/22/2015 at 03:17PM

43
#>129 - kimber gonzalez / @kimberlycreates

01/22/2015 at 03:16PM

45
#>138 - kimber gonzalez / @kimberlycreates

01/22/2015 at 03:15PM

46
#>147 - kimber gonzalez / @kimberlycreates

01/22/2015 at 03:13PM

47
#>153 - kimber gonzalez / @kimberlycreates

01/22/2015 at 03:13PM

49
#>164 - kimber gonzalez / @kimberlycreates

01/22/2015 at 03:11PM