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

250 active golfers, 669 entries

Leaderboard (lowest score wins):
14
#211 - Kyouma / @kyoumaJohn

10/14/2016 at 07:06PM

14
#212 - sijinyuan / @sijinyuan

03/21/2017 at 03:17AM

14
#213 - 杨洋 / @176795444

07/16/2017 at 09:55AM

14
#214 - Petar Saulic / @gorillawarfare9

10/27/2017 at 12:30PM

14
#215 - vimgolfer / @vimgolfinger

11/06/2017 at 12:35PM

14
#216 - Emmanuel Fuentes / @manufuents

11/20/2017 at 11:18PM

14
#217 - Joe Heywood / @joehabsjoe

12/24/2017 at 09:25PM

14
#218 - Paul Draghicescu / @pdragy

03/23/2018 at 05:35AM

14
#219 - z0c / @zerocabal

06/12/2018 at 08:48AM

14
#220 - Graeme Smith / @InstaGraeme

06/08/2019 at 06:51PM

14
#221 - José / @AngelGaldamez

09/08/2019 at 01:37AM

15
#222 - Ricardo M. Vilchis / @ajkaanbal

10/22/2014 at 11:02PM

15
#223 - Christophe de Vienne / @cmdevienne

10/27/2014 at 07:43PM

15
#224 - Oliver Christ / @0liverChrist

10/28/2014 at 11:12PM

15
#225 - Adrian Koczy / @adriankoczy

10/29/2014 at 02:33PM

15
#226 - Daniel Rødskog / @daniero

12/10/2014 at 10:12PM

15
#227 - Steve Alison / @Steve_Alison

12/12/2014 at 11:44PM

15
#228 - Dmitry Zudochkin / @zudochkin

02/18/2015 at 10:17AM

15
#229 - aisapatino / @aisapatino

07/30/2015 at 04:17AM

15
#230 - Jakob Schöttl / @jschoettl

12/20/2015 at 05:28AM

15
#231 - Micha / @michman89

08/21/2016 at 03:49PM

15
#232 - Brandon Height / @Lask0x

08/09/2017 at 07:58PM

15
#233 - Simon Cheng / @bambooraccoon

01/26/2018 at 05:21PM

16
#234 - Sebastian Korten / @FlashKorten

10/22/2014 at 02:01PM

16
#235 - Christopher Brew / @Seph1rothVII

12/03/2014 at 12:30AM

16
#236 - Edmundo Perez / @ingedmundo

12/03/2014 at 04:31PM

16
#237 - Aaron Whittington / @whittaaron

01/16/2015 at 02:20AM

16
#238 - montalvoMiguel / @imontalvomiguel

05/05/2015 at 05:44AM

16
#239 - Joel Gallant / @joelg236

06/14/2015 at 04:23PM

16
#240 - Andrei Gasparovici / @agasparovici

12/01/2017 at 05:48PM