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 296 remaining solutions by signing in and submitting your own entry
#297 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

297 active golfers, 973 entries

Leaderboard (lowest score wins):
19
#151 - Tullio Facchinetti / @toolleeo

07/25/2013 at 11:37AM

19
#152 - Vinicius Souza / @vsouzas

07/28/2013 at 02:03PM

19
#153 - Asa Jay / @HiFreeo

07/29/2013 at 10:08PM

19
#154 - A / @Tower_1980

07/31/2013 at 02:21PM

19
#155 - memotype / @memotype

07/31/2013 at 09:24PM

19
#156 - dan baker / @danbaker_a

08/09/2013 at 06:52PM

19
#157 - Dom Armstrong / @dom_cycleface

08/15/2013 at 01:05PM

19
#158 - Tony Han / @tony612_han

08/30/2013 at 05:41PM

19
#159 - zmf_tim / @zmf_tim

08/31/2013 at 11:21PM

19
#160 - aRkadeFR / @aRkadeFR

10/03/2013 at 06:52AM

19
#161 - buz / @buzbone

10/08/2013 at 01:45PM

19
#162 - gary.klindt@googlema / @garstekli

11/12/2013 at 05:55PM

19
#163 - Allan Tokuda / @atokuda

11/14/2013 at 02:36AM

19
#164 - Rafael Rendon Pablo / @__rendon__

12/18/2013 at 05:23AM

19
#165 - pikaren / @REALpikaren

12/22/2013 at 04:20AM

19
#166 - André / @Joschasa

01/22/2014 at 03:11PM

19
#167 - kli / @klidev

02/02/2014 at 10:49PM

19
#168 - Joonas Pihlajamaa / @jokkebk

02/17/2014 at 03:45PM

19
#169 - Victor Ramirez / @virako

02/25/2014 at 12:14AM

19
#170 - Jack Jacquemmoz / @MozJack

03/05/2014 at 10:11AM

19
#171 - Brian Olpin / @bolpin

03/22/2014 at 05:47PM

19
#172 - RB / @powerage88

03/30/2014 at 09:07PM

19
#173 - Andreas Hagesjö / @Ankhagge

05/08/2014 at 12:01PM

19
#174 - zmo / @guyzmo

05/10/2014 at 03:36PM

19
#175 - Michi Loro / @michiloro

07/14/2014 at 11:51AM

19
#176 - RiccardoSven Risuleo / @riccardosven

07/17/2014 at 01:21PM

19
#177 - r. / @rmarvie

12/19/2014 at 11:34AM

19
#178 - David English / @Nglish26

03/07/2015 at 01:06AM

19
#179 - Chenut Ludovic / @7Brwa7

04/05/2016 at 03:13PM

19
#180 - Arijus / @argshook

09/28/2018 at 11:52AM