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

2870 active golfers, 10438 entries

Leaderboard (lowest score wins):
10
#451 - hor1ace / @hor3ace

09/07/2016 at 04:51PM

10
#452 - Chris / @Gaunah_

09/07/2016 at 05:39PM

10
#453 - kicenaFKQWI*$FNSD / @KicenafkqwiFnsd

09/11/2016 at 05:43AM

10
#454 - ✘A / @Lolicon_H

09/17/2016 at 05:14AM

10
#455 - Allen57 / @ludo57310

09/18/2016 at 02:21PM

10
#456 - Sahar Rachamim / @SRachamim

09/19/2016 at 09:47PM

10
#457 - 박 재 성 / @javajigi

09/22/2016 at 08:24AM

10
#458 - Nico / @_Nico_Caro

09/24/2016 at 03:46PM

10
#459 - Anthony Ardito / @aardito21

09/25/2016 at 11:35PM

10
#460 - Alex Ulitin / @inventivealex

09/26/2016 at 08:46PM

10
#461 - Jeremiah Gibson / @jeremiah4691

09/28/2016 at 10:35PM

10
#462 - manbogot / @gmanbor

10/01/2016 at 10:13AM

10
#463 - Nikos Kwlos / @Kwlos_Calling

10/02/2016 at 05:09PM

10
#464 - travv0 / @travv0

10/03/2016 at 04:33PM

10
#465 - Nathan Lander / @NathanLander

10/05/2016 at 06:21PM

10
#466 - James Hart / @hjhart

10/05/2016 at 07:11PM

10
#467 - David Fonseca / @ddfonseca6

10/06/2016 at 06:53PM

10
#468 - @ / @kangur85

10/07/2016 at 08:14PM

10
#469 - trx / @trxdbg

10/09/2016 at 06:54AM

10
#470 - 류장근 / @hero77geni

10/09/2016 at 02:14PM

10
#471 - Chris Hampson / @ChrisHampsonGTD

10/10/2016 at 08:22AM

10
#472 - Matt Rasmus / @_mattrasmus

10/10/2016 at 03:37PM

10
#473 - mk61 / @aringba

10/14/2016 at 10:02AM

10
#474 - Brian Mego / @Major251

10/17/2016 at 03:57AM

10
#475 - JustGage / @JustGage

10/17/2016 at 07:11PM

10
#476 - Whossname / @BuzzaTyson

10/18/2016 at 02:34PM

10
#477 - Trevor Fenn / @SgtPepper43

10/18/2016 at 03:33PM

10
#478 - Karl Lundquist / @karllundquist

10/18/2016 at 10:20PM

10
#479 - Bill Ruddock / @biinari

10/25/2016 at 04:58AM

10
#480 - 子皓翁 / @geniusgordon

10/25/2016 at 08:22AM