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

2807 active golfers, 10170 entries

Leaderboard (lowest score wins):
10
#1 - Timothée Gauthier / @zmf_tim

11/12/2014 at 12:11PM

10
#2 - Urtica dioica / @udioica

11/12/2014 at 01:55PM

10
#3 - John Braxler / @braxler

11/12/2014 at 04:26PM

10
#4 - Petro Тrouq / @zulolosi

11/12/2014 at 08:57PM

10
#5 - aborilov / @aborilov

11/14/2014 at 07:22AM

10
#6 - Jakub Horák / @kubahorak

11/14/2014 at 12:16PM

10
#7 - Marcin Radomski / @_dextero

11/14/2014 at 02:01PM

10
#8 - Akshay Hegde / @ajh_17

11/15/2014 at 05:20AM

10
#9 - Hrvoje Kopinc / @Hrwaaa

11/16/2014 at 03:43PM

10
#10 - devos victor / @victordevos

11/16/2014 at 06:46PM

10
#11 - Martin Toma / @MartinToma

11/16/2014 at 09:28PM

10
#12 - Caek / @Caek_

11/17/2014 at 11:45PM

10
#13 - Marcin Rogacki / @Ukreskowane

11/21/2014 at 10:42AM

10
#14 - Joel S. / @joelthelion

11/22/2014 at 09:23PM

10
#15 - Eric Potter / @pottereric

11/23/2014 at 03:37AM

10
#16 - Vincent Dumoulin / @dumoulinv

11/23/2014 at 04:52AM

10
#17 - Grisha Pushkov / @readoonly

11/23/2014 at 02:38PM

10
#18 - Alex K / @alex_kononovich

11/23/2014 at 02:52PM

10
#19 - Mattias Fransson / @azzidoos

11/25/2014 at 05:53PM

10
#20 - zmo / @guyzmo

11/25/2014 at 10:54PM

10
#21 - Patrick Blesi / @PBlesi

11/25/2014 at 11:15PM

10
#22 - Michael Aston / @pennyOsl

11/26/2014 at 11:35AM

10
#23 - Ivan Brennan / @ivanbrennan

11/27/2014 at 01:24AM

10
#24 - jb / @heyyoheyeheyehf

12/03/2014 at 05:09AM

10
#25 - Strabs / @artistavenue

12/03/2014 at 10:36AM

10
#26 - Abdo Achkar / @Achkar

12/03/2014 at 11:22PM

10
#27 - John Diamond / @jcdmnd

12/04/2014 at 11:18AM

10
#28 - Anderson Mesquita / @andersonvom

12/05/2014 at 11:14AM

10
#29 - Gammelin Guillaume / @ggammelin

12/05/2014 at 03:47PM

10
#30 - Yuriy / @skriyka

12/05/2014 at 07:55PM