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

2970 active golfers, 10876 entries

Leaderboard (lowest score wins):
10
#31 - kobby / @_kafdot_

12/08/2014 at 06:02AM

10
#32 - jared swarts / @JaredSwarts

12/08/2014 at 11:27PM

10
#33 - benekeusz / @benekeusz

12/10/2014 at 03:17AM

10
#34 - Kuba Borowski / @prajmus

12/10/2014 at 02:27PM

10
#35 - Bellator nobilis / @BNobilis

12/11/2014 at 11:22PM

10
#36 - Danilo / @dbrgn

12/12/2014 at 09:16AM

10
#37 - Christoph Paulik / @cpaulik

12/12/2014 at 11:09PM

10
#38 - david hu / @chin33z

12/13/2014 at 01:17PM

10
#39 - Stefan Eng / @Wribbe

12/15/2014 at 11:00AM

10
#40 - Rajit Singh / @rajitbsingh

12/15/2014 at 03:59PM

10
#41 - Kentaro Wakayama / @wakayamakentaro

12/16/2014 at 05:53PM

10
#42 - Jesse Emond / @JesseEmond

12/17/2014 at 04:58AM

10
#43 - José Maurinho / @Jose_Maurinho

12/18/2014 at 09:16PM

10
#44 - Boon-Hau Teh / @boondigo

12/20/2014 at 01:04AM

10
#45 - Alex Birdsall / @OilCanSamson

12/20/2014 at 07:03AM

10
#46 - Poigal Nitish / @poigalnitish

12/22/2014 at 10:28AM

10
#47 - Eirik A. Blekesaune / @blacksound

12/25/2014 at 11:05PM

10
#48 - Michael LeCompte / @michaelslec

12/29/2014 at 09:38AM

10
#49 - kimber gonzalez / @kimberlycreates

12/29/2014 at 07:33PM

10
#50 - juicelink / @juicelink

12/29/2014 at 10:38PM

10
#51 - Nick Dyer / @nickbdyer

12/31/2014 at 07:22PM

10
#52 - d1hotpep / @d1hotpep

12/31/2014 at 11:24PM

10
#53 - John Bucephalus / @AaronHotz

01/01/2015 at 02:03PM

10
#54 - Pavlo Klets / @p01nt

01/01/2015 at 10:28PM

10
#55 - ShundanXiao / @AkashiXiao

01/06/2015 at 06:34PM

10
#56 - Zull Full / @Zullfull

01/09/2015 at 09:13AM

10
#57 - Marcus Olsson / @marcusolsson

01/10/2015 at 01:02PM

10
#58 - ZhangXiaochen / @zhang_xiaochen

01/12/2015 at 03:39PM

10
#59 - Andrew / @akxlr

01/13/2015 at 11:32AM

10
#60 - zealotrush / @zealotrush

01/14/2015 at 05:12AM