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

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

72 active golfers, 185 entries

Solutions by @tylerbindon:
39
#28 - Tyler / @tylerbindon

04/06/2013 at 04:22AM

40
#>32 - Tyler / @tylerbindon

04/06/2013 at 04:18AM

49
#>58 - Tyler / @tylerbindon

04/06/2013 at 04:04AM

50
#>59 - Tyler / @tylerbindon

04/06/2013 at 04:04AM

66
#>68 - Tyler / @tylerbindon

04/06/2013 at 04:08AM

69
#>69 - Tyler / @tylerbindon

04/06/2013 at 03:50AM

225
#>72 - Tyler / @tylerbindon

04/06/2013 at 03:46AM