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 51e023f92b2f6d0002000066

Hole-in-one

Lets take this golf thing literally.. Drive off the tee into the hole, and of course you don't strike the ball completely clean.

Start file
    
        o
        |


                                     |>
                                     |
                                    ( )
End file
    
        
        
          _

                                     |>
                                     |
                                    (o)

View Diff

3,5c3,5
<         o
<         |
< 
---
>         
>         
>           _
9c9
<                                     ( )
---
>                                     (o)

Solutions by @OliverCaldwell:

Unlock 1 remaining solutions by signing in and submitting your own entry
Created by: @boyfromkansas

304 active golfers, 1018 entries

Solutions by @OliverCaldwell:
21
#204 - Oliver Caldwell / @OliverCaldwell

08/27/2013 at 11:27AM