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
#91 - Ethan Chan / @metakirby5

02/12/2015 at 01:17AM

10
#92 - Naseem Al-Naji / @NaseemAlnaji

02/13/2015 at 09:43AM

10
#93 - 哆啦比猫 / @cjxgm2

02/13/2015 at 12:14PM

10
#94 - Jakub Kotowski / @jkbkot

02/15/2015 at 06:15PM

10
#95 - Laurent Stacul / @stac47

02/18/2015 at 09:58AM

10
#96 - Michael Giuffrida / @mgiuffrida

02/20/2015 at 05:40AM

10
#97 - esquifit / @henroboke

02/20/2015 at 08:35PM

10
#98 - Yann Moisan / @YannMoisan

02/20/2015 at 09:29PM

10
#99 - Felix / @DoubleFelix_

02/24/2015 at 10:31AM

10
#100 - nei nei / @fuglekvitraren

02/24/2015 at 05:10PM

10
#101 - octotep / @octotep

02/25/2015 at 02:51AM

10
#102 - Javier Carpio / @SaxKazein

02/25/2015 at 02:47PM

10
#103 - paulfariello ✏️ / @paulfariello

02/25/2015 at 03:31PM

10
#104 - Chris Edwards / @boise_chris

02/25/2015 at 10:43PM

10
#105 - Darth Shuvalov / @shuvalov_anton

02/25/2015 at 11:37PM

10
#106 - Alex Castaño / @alexcasdel

02/27/2015 at 03:23PM

10
#107 - Dorian Scheidt / @DorianListens

02/27/2015 at 11:03PM

10
#108 - Andrew / @WK3AS

02/28/2015 at 10:22PM

10
#109 - Yannic Haupenthal / @yhaupenthal

03/01/2015 at 10:01AM

10
#110 - Qhuatre / @Qhuatre

03/01/2015 at 05:07PM

10
#111 - Erik Johansson / @iamknugen

03/01/2015 at 06:50PM

10
#112 - Jerome Korlowski / @nolifish

03/02/2015 at 03:41AM

10
#113 - Ben Plantinga / @benplantinga

03/02/2015 at 04:57AM

10
#114 - Matthew Pryor / @HodgekaGames

03/02/2015 at 11:01PM

10
#115 - ZorgroZ / @ZorgroZ

03/03/2015 at 11:22PM

10
#116 - Alan Berndt / @bentglasstube

03/05/2015 at 06:37PM

10
#117 - Ala' Ibrahim / @alaa_ibrahim

03/05/2015 at 10:56PM

10
#118 - DrHobo / @_DrHobo_

03/06/2015 at 04:00AM

10
#119 - Kevin Pan / @k8101026666

03/06/2015 at 07:09AM

10
#120 - dfleischman / @dfleischman

03/06/2015 at 06:10PM