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

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

302 active golfers, 1012 entries

Solutions by @mbardauskas:
23
#264 - Martynas Bardauskas / @mbardauskas

09/28/2018 at 11:51AM

23
#>264 - Martynas Bardauskas / @mbardauskas

09/28/2018 at 11:52AM

25
#>287 - Martynas Bardauskas / @mbardauskas

09/28/2018 at 11:49AM