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
#61 - Yang Pengcheng / @nail1208

01/15/2015 at 11:30AM

10
#62 - Carlos A Henríquez Q / @lagunex

01/16/2015 at 11:56AM

10
#63 - Matt Walsh / @mattwalsh

01/17/2015 at 12:28AM

10
#64 - eirc / @eirc

01/17/2015 at 12:26PM

10
#65 - Плеханов Дмитрий / @onemanstartup

01/17/2015 at 05:46PM

10
#66 - Håken Lid / @haakenlid

01/19/2015 at 01:11AM

10
#67 - Andrey / @andreyrmg

01/19/2015 at 10:26AM

10
#68 - Moritz Schüpp / @moritzschuepp

01/19/2015 at 12:05PM

10
#69 - Nicolai Skogheim / @NicolaiSkogheim

01/19/2015 at 03:50PM

10
#70 - Cyrus / @Cyrus_00000

01/19/2015 at 05:18PM

10
#71 - Gurminder Sunner / @g_sunner

01/19/2015 at 11:13PM

10
#72 - mark0829 / @mark0829

01/19/2015 at 11:29PM

10
#73 - m1r4ge / @m1r4ge_ror

01/19/2015 at 11:50PM

10
#74 - Romain Salles / @romain_salles

01/20/2015 at 11:48PM

10
#75 - Coal / @Coal

01/21/2015 at 07:04PM

10
#76 - ben / @bpaqd

01/23/2015 at 03:54AM

10
#77 - Thomas Larrieu / @t_larrieu

01/23/2015 at 02:49PM

10
#78 - Niels Kobschätzki / @niels_k

01/24/2015 at 12:24PM

10
#79 - Rathrio / @Rathrio

01/26/2015 at 12:21PM

10
#80 - Tyler Holien / @tylerholien

01/27/2015 at 08:40PM

10
#81 - Charles-P Clermont / @cpclermont

01/28/2015 at 12:41PM

10
#82 - Pedro Santos / @pedrosans

01/28/2015 at 01:42PM

10
#83 - Michael Smith / @aquasineutral

01/28/2015 at 04:43PM

10
#84 - )ouni|(antola / @jouni_kantola

01/28/2015 at 08:15PM

10
#85 - Loser Face / @heypetewhats

01/29/2015 at 09:28PM

10
#86 - Nolic / @cNolic

01/30/2015 at 08:22PM

10
#87 - Daniel Pham / @dany_pham

01/31/2015 at 07:46PM

10
#88 - Ducky / @MegaDucky9000

02/02/2015 at 02:15PM

10
#89 - Matthew Westbrook / @MattWestbro

02/07/2015 at 08:50AM

10
#90 - 9WVPGy9U / @9_gy9

02/07/2015 at 08:51AM