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

The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!

Check out these helpful resources to improve your Vim skills... Game on.

Unlock 304 remaining solutions by signing in and submitting your own entry
#305 Brian Peiris / @brianpeiris - Score: 43 - 12/28/13 @ 05:28
/|<CR>:se vir<Tab>=a<Tab><BS>ll<CR>jlls_<Esc>kkb<C-V>jd<Esc>/(<CR>2s(o<Esc>:wq<CR>

0 comments


Created by: @boyfromkansas

305 active golfers, 1024 entries

Leaderboard (lowest score wins):
24
#271 - Marian Vevurka / @MVevurka

10/17/2013 at 03:49PM

24
#272 - Eric Potter / @pottereric

10/27/2013 at 01:03AM

24
#273 - Larry Boltovskoi / @larrybolt

12/08/2013 at 01:07AM

24
#274 - curist / @curist

01/16/2014 at 03:10AM

24
#275 - n.st / @0013901644043f9

02/03/2014 at 04:06AM

24
#276 - Huy Zing / @huyzing

02/13/2014 at 08:48AM

24
#277 - ren / @wxoc

02/20/2014 at 10:06AM

24
#278 - Mathias Münch / @mmutng

03/28/2014 at 03:13PM

24
#279 - Felipe Jaramillo F / @mrfelipe

04/02/2014 at 08:10PM

24
#280 - Michael J Rosenthal / @micimize

04/09/2014 at 06:57PM

24
#281 - wizardwerdna / @wizardwerdna

05/16/2014 at 05:35AM

24
#282 - yamasita taisuke / @yaasita

07/12/2014 at 04:49AM

24
#283 - Jan Novak / @odpadnimail

11/22/2014 at 03:36AM

24
#284 - Jurica / @Jurica34581259

11/16/2018 at 04:47PM

25
#285 - Hiroshi Funai / @hfunai

09/23/2013 at 02:41AM

25
#286 - David Tran / @everyzero

10/30/2013 at 07:36PM

25
#287 - Chris / @143Pi

03/28/2014 at 03:21PM

25
#288 - Alan Kessler / @alankesslr

08/27/2014 at 05:05PM

25
#289 - Alain / @ducouloa

12/01/2015 at 08:15PM

26
#290 - T / @tea_sea

05/12/2014 at 04:34PM

26
#291 - Brian Peck / @bpeck614

06/11/2014 at 06:04AM

26
#292 - João Carvalho / @joaoCarvas

07/18/2014 at 10:50PM

26
#293 - Raynard, Jordan / @raynard_jordan

01/14/2015 at 03:48PM

26
#294 - Oliver Christ / @0liverChrist

02/08/2015 at 08:58PM

27
#295 - Gurukandhamoorthi / @Gurukandhamoor1

07/13/2017 at 09:01AM

28
#296 - Jan Scholz / @radikalliberal

10/17/2024 at 10:11PM

29
#297 - brett / @brettyukich

09/18/2013 at 11:01AM

29
#298 - Markus / @ARealAnnoyance

07/26/2019 at 07:35PM

30
#299 - Daniel Gray / @DanielFGray

10/15/2013 at 08:43AM

32
#300 - CJ Avilla / @cjav_dev

05/11/2014 at 04:45AM