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 5035e5b3838d9e000200006d

Dehamlizing

Change this piece of HAML code back into erb

Start file
%tr
  %td= raw("<%= line1_hello %>")
  %td= raw("<%= line2(world) %>")
  %td= raw("<%= line3_hello %>")
  %td= raw("<%= line4 %>")
  %td= raw("<%= line5_(world) %>")
End file
<tr>
  <td><%= line1_hello %></td>
  <td><%= line2(world) %></td>
  <td><%= line3_hello %></td>
  <td><%= line4 %></td>
  <td><%= line5_(world) %></td>
</tr>

View Diff

1,6c1,7
< %tr
<   %td= raw("<%= line1_hello %>")
<   %td= raw("<%= line2(world) %>")
<   %td= raw("<%= line3_hello %>")
<   %td= raw("<%= line4 %>")
<   %td= raw("<%= line5_(world) %>")
---
> <tr>
>   <td><%= line1_hello %></td>
>   <td><%= line2(world) %></td>
>   <td><%= line3_hello %></td>
>   <td><%= line4 %></td>
>   <td><%= line5_(world) %></td>
> </tr>

Solutions by @YannMoisan:

Unlock 5 remaining solutions by signing in and submitting your own entry
Created by: @corrodedlotus

72 active golfers, 185 entries

Solutions by @YannMoisan:
42
#43 - Yann Moisan / @YannMoisan

01/04/2013 at 11:56PM

44
#>51 - Yann Moisan / @YannMoisan

01/04/2013 at 11:51PM

47
#>57 - Yann Moisan / @YannMoisan

01/04/2013 at 11:45PM

56
#>64 - Yann Moisan / @YannMoisan

01/04/2013 at 11:39PM

61
#>66 - Yann Moisan / @YannMoisan

01/04/2013 at 11:34PM