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

204 active golfers, 878 entries

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

01/22/2015 at 03:25PM

27
#>38 - kimber gonzalez / @kimberlycreates

01/22/2015 at 03:22PM

27
#>38 - kimber gonzalez / @kimberlycreates

01/22/2015 at 03:23PM

30
#>56 - kimber gonzalez / @kimberlycreates

01/22/2015 at 03:21PM

31
#>74 - kimber gonzalez / @kimberlycreates

01/22/2015 at 03:21PM

32
#>78 - kimber gonzalez / @kimberlycreates

01/22/2015 at 03:21PM

33
#>85 - kimber gonzalez / @kimberlycreates

01/22/2015 at 03:20PM

37
#>94 - kimber gonzalez / @kimberlycreates

01/22/2015 at 03:20PM

39
#>107 - kimber gonzalez / @kimberlycreates

01/22/2015 at 03:19PM

40
#>117 - kimber gonzalez / @kimberlycreates

01/22/2015 at 03:18PM

41
#>124 - kimber gonzalez / @kimberlycreates

01/22/2015 at 03:18PM

42
#>131 - kimber gonzalez / @kimberlycreates

01/22/2015 at 03:17PM

43
#>134 - kimber gonzalez / @kimberlycreates

01/22/2015 at 03:16PM

45
#>143 - kimber gonzalez / @kimberlycreates

01/22/2015 at 03:15PM

46
#>153 - kimber gonzalez / @kimberlycreates

01/22/2015 at 03:13PM

47
#>159 - kimber gonzalez / @kimberlycreates

01/22/2015 at 03:13PM

49
#>170 - kimber gonzalez / @kimberlycreates

01/22/2015 at 03:11PM