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

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

302 active golfers, 1012 entries

Solutions by @Dronak:
19
#185 - James / @Dronak

11/04/2022 at 02:51PM

22
#>251 - James / @Dronak

11/04/2022 at 02:48PM

24
#>268 - James / @Dronak

08/29/2013 at 09:22PM

27
#>292 - James / @Dronak

08/29/2013 at 09:21PM