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

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

72 active golfers, 185 entries

Solutions by @dbrgn:
42
#41 - Danilo / @dbrgn

10/29/2012 at 09:18PM

44
#>51 - Danilo / @dbrgn

10/29/2012 at 09:13PM

45
#>55 - Danilo / @dbrgn

10/29/2012 at 09:12PM

47
#>57 - Danilo / @dbrgn

10/29/2012 at 09:09PM

51
#>59 - Danilo / @dbrgn

10/29/2012 at 09:07PM

58
#>65 - Danilo / @dbrgn

10/29/2012 at 09:05PM