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

3427 active golfers, 12898 entries

Leaderboard (lowest score wins):
23
#3211 - Arnaud / @arnaudmm

03/12/2015 at 11:05AM

23
#3212 - Martin Ek / @ekmartinb

03/26/2015 at 12:33AM

23
#3213 - Test Name / @krp230test

06/11/2015 at 07:59PM

23
#3214 - Adam Cook / @apcook

10/08/2015 at 01:59PM

23
#3215 - a / @robbietron

10/11/2015 at 04:51AM

23
#3216 - eyong / @hengzju

10/21/2015 at 02:34PM

23
#3217 - manfred knapp / @fred_pooshka

12/07/2015 at 12:03AM

23
#3218 - Nigel Rahkola / @NinjaRahkola

05/07/2016 at 11:08PM

23
#3219 - Rodney Visser / @_Radnus

11/25/2016 at 01:47AM

23
#3220 - Eduardo Hashimoto / @eduhashi

12/15/2016 at 12:29PM

23
#3221 - Patrik Pihlström / @metacognizance

02/03/2017 at 02:19PM

23
#3222 - Anil / @anilkrishna_m

05/09/2017 at 04:15PM

23
#3223 - ls rd g / @0lsrdg

07/12/2017 at 11:00PM

23
#3224 - Anna Rezhko / @annaisnotonline

08/28/2017 at 12:03AM

23
#3225 - stevenqiulei / @stevenqiulei

11/10/2017 at 02:29AM

23
#3226 - Spacesh1p / @spacesh1pdev

01/02/2018 at 03:25PM

23
#3227 - BitLad / @BitLad

02/16/2018 at 05:35PM

23
#3228 - MrMatuski / @MrMatuski

03/08/2018 at 07:36PM

23
#3229 - Alex Budilovsky / @alexbudy

05/01/2018 at 04:57AM

23
#3230 - Jonathan King / @JonKingUsername

05/03/2018 at 04:37PM

23
#3231 - Stephen Utley / @Utley2600

07/04/2018 at 11:54PM

23
#3232 - 길동수 / @23BqpItUAEonueU

07/27/2018 at 07:30AM

23
#3233 - Benny / @b1299709

07/31/2018 at 06:50AM

23
#3234 - XpBar / @Xp_Bar

09/07/2018 at 03:13AM

23
#3235 - Brent Woo / @BrentPWoo

10/03/2018 at 07:27PM

23
#3236 - CleverSwift / @sohn0521

11/07/2018 at 11:01AM

23
#3237 - Jurica / @Jurica34581259

11/14/2018 at 11:26PM

23
#3238 - Ján Mochňak / @janmochnak

01/27/2019 at 07:47PM

23
#3239 - sfmogway / @sfmogway

02/14/2019 at 10:43AM

23
#3240 - Rodrigo Ceccato de Freitas / @_fopor

04/12/2019 at 11:59PM