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

3166 active golfers, 11699 entries

Leaderboard (lowest score wins):
10
#571 - Michał Rajwa / @MichalRajwa

05/09/2017 at 07:16PM

10
#572 - JerryLee / @varXinYuan

05/10/2017 at 08:54AM

10
#573 - Chicuella / @chicuellahere

05/10/2017 at 01:04PM

10
#574 - Jeff Kelly / @cheibriados

05/14/2017 at 05:19AM

10
#575 - korzenmichal / @korzenmichal

05/14/2017 at 09:04PM

10
#576 - ЯRicardo / @TresErresCo

05/16/2017 at 02:32AM

10
#577 - ʀǟɦʊʟ ɮɦօʟǟ / @theRahulBhola

05/22/2017 at 05:29AM

10
#578 - Melvin Cheung / @MelvinCheung

05/22/2017 at 05:41PM

10
#579 - mesacul / @mesacul

05/23/2017 at 04:30AM

10
#580 - Jason Villanueva / @Json_V1

05/24/2017 at 07:17AM

10
#581 - Karl Hepler / @oldtimeguitar

05/25/2017 at 06:02PM

10
#582 - Ernesto Barros / @ernestobarros7

05/25/2017 at 09:38PM

10
#583 - David / @Revan4Vendetta

05/26/2017 at 09:53AM

10
#584 - Tomas Sikula / @tomsmicroblog

05/26/2017 at 01:57PM

10
#585 - Michael Ficarra / @jspedant

05/26/2017 at 05:51PM

10
#586 - Simon / @simonpaitu

05/28/2017 at 10:18AM

10
#587 - TongHyun Kim / @crowdy

05/31/2017 at 02:13PM

10
#588 - ybw / @yossibenwolf

06/04/2017 at 10:22AM

10
#589 - ssh89 / @ssh89

06/04/2017 at 07:29PM

10
#590 - Sebastián Etra / @EtraStyle

06/17/2017 at 06:53PM

10
#591 - Joel Meyer-Hamme / @JoelMeyerHamme

06/18/2017 at 03:03PM

10
#592 - Christian Stammen / @c0smiq

06/21/2017 at 09:28AM

10
#593 - akanb / @GAkt6L6SlKhy8zA

06/28/2017 at 03:47AM

10
#594 - Bennett Bernardoni / @BBernardoni

06/28/2017 at 05:14PM

10
#595 - 杨洋 / @176795444

07/01/2017 at 03:35AM

10
#596 - Fred Sladkey / @fsladkey

07/04/2017 at 06:10PM

10
#597 - Cody Heimberger / @certifiedloud

07/08/2017 at 06:21AM

10
#598 - Михаил Добров / @mSuGfwFz2ZNvv5b

07/08/2017 at 09:46PM

10
#599 - Fatalis / @fatalis_

07/09/2017 at 01:33AM

10
#600 - Adrian Englhardt / @_englhardt

07/11/2017 at 12:45PM