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 5447b459380e8b0002000db3

Gray area

It's a golf metaphor or something.

Start file
a_golf_ball - > - > - > - > |___________| -
End file
            - > - > - > - > |a_golf_ball| -

View Diff

1c1
< a_golf_ball - > - > - > - > |___________| -
---
>             - > - > - > - > |a_golf_ball| -

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 258 remaining solutions by signing in and submitting your own entry
#259 bo-yu huang / @good5dog5 - Score: 40 - 11/11/14 @ 08:45
yever f_p<C-C><C-C>uuyever f_pldeF_f-F_F_F_x:wq<CR>

0 comments


Created by: @udioica

259 active golfers, 698 entries

Leaderboard (lowest score wins):
15
#241 - Deepanshu Gupta / @_Deepanshu_

05/04/2021 at 08:00AM

16
#242 - Sebastian Korten / @FlashKorten

10/22/2014 at 02:01PM

16
#243 - Christopher Brew / @Seph1rothVII

12/03/2014 at 12:30AM

16
#244 - Edmundo Perez / @ingedmundo

12/03/2014 at 04:31PM

16
#245 - Aaron Whittington / @whittaaron

01/16/2015 at 02:20AM

16
#246 - montalvoMiguel / @imontalvomiguel

05/05/2015 at 05:44AM

16
#247 - Joel Gallant / @joelg236

06/14/2015 at 04:23PM

16
#248 - Andrei Gasparovici / @agasparovici

12/01/2017 at 05:48PM

17
#249 - jiangchuan / @tommy_he

11/15/2014 at 10:45PM

17
#250 - Andrew / @akxlr

01/14/2015 at 11:34AM

17
#251 - Gurukandhamoorthi / @Gurukandhamoor1

07/13/2017 at 09:49AM

18
#252 - Juampy NR / @juampynr

10/24/2014 at 02:22PM

19
#253 - Tom Johnson / @jungesti

10/27/2014 at 07:33PM

19
#254 - timrich / @timrich

11/12/2014 at 03:37PM

21
#255 - jared swarts / @JaredSwarts

12/12/2014 at 11:05PM

23
#256 - luffy / @raxcoi

12/17/2014 at 02:49PM

33
#257 - Jurica / @Jurica34581259

11/16/2018 at 05:40PM

35
#258 - qixiao / @qixiao986

05/30/2021 at 11:49PM

40
#259 - bo-yu huang / @good5dog5

11/11/2014 at 08:45AM