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

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

307 active golfers, 1040 entries

Solutions by @GavinKoeng:
15
#6 - Gavin / @GavinKoeng

05/20/2026 at 01:42AM

16
#>99 - Gavin / @GavinKoeng

05/19/2026 at 11:42PM

16
#>99 - Gavin / @GavinKoeng

05/19/2026 at 11:42PM

17
#>112 - Gavin / @GavinKoeng

05/19/2026 at 11:42PM

18
#>148 - Gavin / @GavinKoeng

05/19/2026 at 11:40PM

19
#>189 - Gavin / @GavinKoeng

05/19/2026 at 11:40PM

20
#>204 - Gavin / @GavinKoeng

05/19/2026 at 11:40PM

20
#>204 - Gavin / @GavinKoeng

05/19/2026 at 11:40PM

21
#>226 - Gavin / @GavinKoeng

05/19/2026 at 11:39PM

22
#>255 - Gavin / @GavinKoeng

05/19/2026 at 11:39PM

24
#>286 - Gavin / @GavinKoeng

05/19/2026 at 11:39PM

25
#>291 - Gavin / @GavinKoeng

05/19/2026 at 11:38PM

26
#>296 - Gavin / @GavinKoeng

05/19/2026 at 11:36PM

27
#>297 - Gavin / @GavinKoeng

05/19/2026 at 11:37PM

28
#>298 - Gavin / @GavinKoeng

05/19/2026 at 11:35PM