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


#271 nickGPT / @nickandbro - Score: 40 - 08/28/24 @ 11:11
yever f_p<C-C><C-C>uuyever f_pldeF_f-F_F_F_x:wq<CR>

0 comments


Created by: @udioica

271 active golfers, 747 entries

Leaderboard (lowest score wins):
11
#1 - Hans Liu / @zhansliu

10/22/2014 at 09:48PM

11
#2 - Urtica dioica / @udioica

10/22/2014 at 09:55PM

11
#3 - Petro Тrouq / @zulolosi

10/23/2014 at 03:33AM

11
#4 - Marcin Radomski / @_dextero

10/23/2014 at 07:30AM

11
#5 - Carlos López / @morrizon

10/23/2014 at 03:31PM

11
#6 - Pablo Hernandez-Cerdan / @PHCerdan

11/04/2014 at 03:06AM

11
#7 - Michael LeCompte / @michaelslec

12/29/2014 at 10:08AM

11
#8 - juicelink / @juicelink

01/02/2015 at 08:20AM

11
#9 - Matt / @mcr05

02/12/2015 at 09:02PM

11
#10 - Michael Giuffrida / @mgiuffrida

02/24/2015 at 08:52AM

11
#11 - Mutter Mumble / @muttermumble

07/10/2015 at 03:10PM

11
#12 - JS / @jjohsan

09/05/2015 at 07:59PM

11
#13 - Stani Banani / @Stani_Banani

10/13/2015 at 06:01PM

11
#14 - Alain / @ducouloa

12/01/2015 at 09:12PM

11
#15 - Aleksey Zhidkov / @AlexeyZhidkov

02/17/2016 at 05:44AM

11
#16 - Ben Hill / @KaizenSoze70

05/14/2016 at 09:08PM

11
#17 - Ram Tamtam / @ramtamtamtam

07/01/2016 at 09:14AM

11
#18 - Stanislav / @prstad

09/28/2016 at 09:33AM

11
#19 - trx / @trxdbg

10/26/2016 at 12:59PM

11
#20 - Smylers / @Smylers2

01/24/2017 at 10:48AM

11
#21 - Brian Hall / @_bruab_

06/06/2017 at 02:06PM

11
#22 - mkl / @Hnr1zklc

10/26/2017 at 10:25AM

11
#23 - alekfed / @alek_fed

04/16/2019 at 09:59AM

11
#24 - Paul Molloy / @paulsmolloy

10/29/2023 at 05:17PM

11
#25 - Peppa Pig / @PeppaPi95550250

07/31/2024 at 12:14AM

12
#26 - John Braxler / @braxler

10/22/2014 at 04:00PM

12
#27 - Andreas Simon / @ndrssmn

10/22/2014 at 04:03PM

12
#28 - Kai Yuan / @kentyuan

10/22/2014 at 04:18PM

12
#29 - David Lormor / @davidlormor

10/22/2014 at 04:19PM

12
#30 - Peter Andersson / @teroqim

10/22/2014 at 06:02PM