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

3092 active golfers, 11407 entries

Leaderboard (lowest score wins):
10
#511 - Patrick Sanan / @patricksanan

01/06/2017 at 04:29PM

10
#512 - Steeve / @5733v3

01/06/2017 at 04:54PM

10
#513 - Alexey Filonenko / @BrightOne_LS

01/07/2017 at 07:53PM

10
#514 - William Surles / @williamsurles

01/13/2017 at 02:25AM

10
#515 - 84shin / @ssssww

01/16/2017 at 06:57PM

10
#516 - Adrian Goldwaser / @AdrianGoldwaser

01/17/2017 at 02:08PM

10
#517 - terhorst / @terhorst

01/20/2017 at 04:30AM

10
#518 - Zhihong Liu / @pieapple03

01/22/2017 at 03:24PM

10
#519 - sijinyuan / @sijinyuan

01/23/2017 at 02:04AM

10
#520 - Young Seok Tony Kim / @tonyapplekim

01/24/2017 at 04:35PM

10
#521 - Curt Matz / @sitrucz

01/25/2017 at 12:06AM

10
#522 - Daniel Hogan / @danielhogan21

01/26/2017 at 03:54AM

10
#523 - Birger / @Birger_Ni

01/26/2017 at 07:53AM

10
#524 - Zhouheng Sun / @onionhoney

02/01/2017 at 08:07AM

10
#525 - (Emile (Swarts)) / @EmileSwarts

02/01/2017 at 06:00PM

10
#526 - Alexander Cederblad / @alexceder

02/02/2017 at 01:54AM

10
#527 - aselaIllayaparachchi / @asela38

02/05/2017 at 12:53AM

10
#528 - setNull / @dadaojiemo

02/06/2017 at 03:02AM

10
#529 - Avian Y / @y_avian

02/09/2017 at 02:03PM

10
#530 - Eduardo Almeida / @idurdo

02/16/2017 at 07:28PM

10
#531 - Tim Grebien / @tiggg

02/21/2017 at 11:37AM

10
#532 - Edras / @Edras41862627

02/22/2017 at 02:41PM

10
#533 - Dan Prince / @danj_prince

02/24/2017 at 11:55PM

10
#534 - Roger / @enjoyheyo

02/26/2017 at 10:39PM

10
#535 - Vimgolf / @vimgolf987

02/27/2017 at 04:34AM

10
#536 - Cheer / @yougec

02/27/2017 at 08:31AM

10
#537 - Alex Ambarchian / @alex_ambarch

03/01/2017 at 03:22AM

10
#538 - Thomas Nelson / @emeraldemon

03/06/2017 at 01:02AM

10
#539 - Nick Spoon / @be_the_spoon

03/07/2017 at 08:12AM

10
#540 - Gkratsia Tantilian / @Gkratsia

03/08/2017 at 09:23AM