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

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

205 active golfers, 881 entries

Solutions by @Korvin79:
27
#36 - Renat Aksitov / @Korvin79

03/03/2012 at 05:56PM

29
#>50 - Renat Aksitov / @Korvin79

03/03/2012 at 05:43PM

31
#>72 - Renat Aksitov / @Korvin79

03/01/2012 at 03:31PM

32
#>76 - Renat Aksitov / @Korvin79

03/01/2012 at 03:27PM

34
#>87 - Renat Aksitov / @Korvin79

03/01/2012 at 03:23PM

38
#>97 - Renat Aksitov / @Korvin79

01/29/2012 at 04:16PM