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

245 active golfers, 653 entries

Leaderboard (lowest score wins):
13
#151 - dosmanak / @dosmanak

03/09/2015 at 03:46PM

13
#152 - Valentino / @iv_alentino

03/20/2015 at 04:29PM

13
#153 - David Daniel / @davedan7

03/20/2015 at 04:29PM

13
#154 - Michael Cramer / @mlcramer

04/11/2015 at 01:36PM

13
#155 - Cosmin Banu / @cosminb82

05/06/2015 at 10:33PM

13
#156 - Stefan Knudsen / @knud32

06/24/2015 at 05:19AM

13
#157 - Jack Z / @itszhou

06/28/2015 at 05:54PM

13
#158 - Clark DuVall / @theclarkatron

06/29/2015 at 04:06AM

13
#159 - Jasbir Singh / @jasbirsingh11

01/17/2016 at 08:57PM

13
#160 - Lifepillar / @lifepillar

03/10/2016 at 09:55PM

13
#161 - tPenguinLTG / @tpenguinltg

05/15/2016 at 07:14AM

13
#162 - Florian Gauger / @FlorianGauger

06/06/2017 at 01:33AM

13
#163 - BareTull / @BareTull3

12/14/2017 at 03:20AM

13
#164 - Sebastian Wieland / @oktupol

01/24/2018 at 08:31AM

13
#165 - albalitz / @_albalitz

06/14/2019 at 08:05AM

13
#166 - Ivo Blöchliger / @aigledesalpes

08/18/2019 at 08:55PM

14
#167 - David / @daywiss

10/22/2014 at 03:23PM

14
#168 - Eduardo / @earada

10/22/2014 at 03:30PM

14
#169 - Leandro Freitas / @freitass

10/22/2014 at 03:48PM

14
#170 - James / @Dronak

10/22/2014 at 09:23PM

14
#171 - Jose Gutierrez / @Jogusa

10/23/2014 at 08:04AM

14
#172 - Denis Redozubov / @rufuse

10/25/2014 at 01:41PM

14
#173 - ЕвгенийВ / @imater

10/27/2014 at 04:34AM

14
#174 - Vivek Bose / @Strangelich

10/27/2014 at 06:03AM

14
#175 - Maxim / @HateLinux

10/27/2014 at 07:32PM

14
#176 - Alex Lesman / @LesmanAlex

10/28/2014 at 08:03PM

14
#177 - Michael Gerdes / @mgerdes11

11/01/2014 at 09:04PM

14
#178 - Jesse Morton / @Jesse_Motion

11/03/2014 at 07:00AM

14
#179 - Matt Robbins / @mcrmfc

11/03/2014 at 05:19PM

14
#180 - Daniel / @dpaneda

11/04/2014 at 10:34PM