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 5462e3f41198b80002512673

I forgot quotes

Oops.

Start file
foo = a
      ab
      abc
End file
foo = "a"
      "ab"
      "abc"

View Diff

1,3c1,3
< foo = a
<       ab
<       abc
---
> foo = "a"
>       "ab"
>       "abc"

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 3276 remaining solutions by signing in and submitting your own entry
#3277 JerryChiu / @pv31508 - Score: 75 - 08/18/15 @ 14:00
Gqaciw"<C-R><C-H><C-H><Esc><0xef><0xbc><0x9b><0xe3><0x84><0xa7>uukkkkkkkkkkkkkk^Gaq<C-H><Esc><Esc><Esc>qkkkkkkkkkk^Gqaciw"<C-R>""<Esc>kq2@azzjkZZ

0 comments


Created by: @udioica

3277 active golfers, 12173 entries

Leaderboard (lowest score wins):
24
#3121 - Manish Gill / @mgill25

06/25/2015 at 03:03PM

24
#3122 - Joel N. / @cboar_

09/28/2015 at 05:13AM

24
#3123 - Pratap Koritala / @pratap_koritala

02/16/2016 at 04:41PM

24
#3124 - Steven Burnett / @sdb1228

02/22/2016 at 09:09PM

24
#3125 - Robin Pyon / @robinpyon

05/15/2017 at 02:25PM

24
#3126 - Geoff / @RealGeoffErwin

09/26/2017 at 10:42PM

24
#3127 - Ruben De Smet / @rubdos

11/10/2017 at 12:06PM

24
#3128 - Jerry / @GarrisonwuJerry

06/12/2018 at 09:23PM

24
#3129 - Priesemut / @Priesemut3

06/20/2018 at 06:51PM

24
#3130 - Andrius Bentkus / @andriusbentkus

08/09/2018 at 11:01AM

24
#3131 - Fabio Branquinho / @branquif

11/07/2018 at 01:16PM

24
#3132 - Matt Zanchelli / @mdznr

04/03/2019 at 11:13PM

24
#3133 - Henry Firth / @CubsfanH12

05/01/2019 at 02:30PM

24
#3134 - TheMagzuz / @DamMarkus

05/16/2019 at 06:10PM

24
#3135 - Yev Barkalov / @yevbar

05/24/2019 at 10:57PM

24
#3136 - Березницкий Вадим / @vad1mster

07/06/2019 at 05:57PM

24
#3137 - Aaron / @aaronlichtman

08/29/2019 at 01:18PM

24
#3138 - Ole / @Ole_Lnkoje

09/18/2019 at 12:34PM

25
#3139 - Josh Weinstein / @j_weinstein

11/17/2014 at 10:33AM

25
#3140 - Juampy NR / @juampynr

12/08/2014 at 10:24AM

25
#3141 - Paweł Chwała / @pawel_chwala

04/18/2015 at 01:23PM

25
#3142 - Javier Fernández / @javierfdezg

11/18/2015 at 12:04AM

25
#3143 - Izabel Jelenić / @IzabelJelenic

12/21/2015 at 06:14AM

25
#3144 - Dušan Baran / @dudoslaf

10/26/2016 at 09:20PM

25
#3145 - Basile Perrenoud / @BP_DK_

06/08/2017 at 12:10PM

25
#3146 - Ryan Tran / @BlueAccords

10/18/2017 at 09:24PM

25
#3147 - sunxl / @sxlgkxk

02/14/2018 at 03:21PM

25
#3148 - Dylan Wilbur / @Dylanw37

07/23/2018 at 08:10PM

25
#3149 - urandom / @ttyrandom

10/20/2018 at 01:34PM

25
#3150 - sajdlkjsafkdshfkdsfs / @sajdlkjsafkdsh1

11/08/2018 at 11:52AM