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

2957 active golfers, 10814 entries

Leaderboard (lowest score wins):
10
#361 - Northern Floats / @northernfloats

02/24/2016 at 03:27AM

10
#362 - zane hitchcox / @zwhitchcox

02/24/2016 at 04:32PM

10
#363 - Regis A. Ely / @regisaely

02/26/2016 at 01:34AM

10
#364 - Ralf Haffa / @fatslo

02/28/2016 at 12:24PM

10
#365 - Jan Bundesmann / @janbundesmann

03/02/2016 at 09:37AM

10
#366 - Sébastien Vincent / @shinmei

03/05/2016 at 03:14PM

10
#367 - Charles Laber-Smith / @clabersmith

03/05/2016 at 04:38PM

10
#368 - Каббанец / @kabbansky

03/07/2016 at 02:04PM

10
#369 - Hao Chen / @Chen_Hao

03/09/2016 at 02:12AM

10
#370 - Arbi Tamrazian / @ArbiTamrazian

03/10/2016 at 12:45AM

10
#371 - Я / @yuki_99_s

03/11/2016 at 05:12AM

10
#372 - Yahyalexandre33 / @yahyalexandre33

03/15/2016 at 12:58AM

10
#373 - Mike G / @MikeG39938619

03/15/2016 at 01:37PM

10
#374 - Jonathan Taylor / @Jonyonson

03/19/2016 at 05:04PM

10
#375 - Olivia Tharp / @tehlivi

03/24/2016 at 10:00PM

10
#376 - Janko Jerinic / @JankoJerinic

03/27/2016 at 03:33AM

10
#377 - CM Déjardin ن / @CMDej

03/30/2016 at 09:08AM

10
#378 - Dinesh Bhosale / @MrDineshBhosale

03/30/2016 at 11:54AM

10
#379 - Evan Moore / @etmoore

04/02/2016 at 06:39PM

10
#380 - Shawn Wallis / @bote52469207

04/08/2016 at 05:17AM

10
#381 - Sean A / @Llanion

04/12/2016 at 06:34PM

10
#382 - S O / @strangelooperer

04/17/2016 at 01:45PM

10
#383 - Jake Griffin / @J4K0_G

04/21/2016 at 10:14PM

10
#384 - Johnny Zhou / @JohnnyZhou01

04/24/2016 at 02:04PM

10
#385 - Andres Hazard / @andreshazard

04/28/2016 at 04:20AM

10
#386 - Tom Harada / @p10q

04/28/2016 at 05:00AM

10
#387 - T. Sakuma / @taku39

04/29/2016 at 11:47AM

10
#388 - Hoang Tran / @hoangtx_master

04/29/2016 at 04:38PM

10
#389 - mebubo / @mebubo

05/02/2016 at 02:07PM

10
#390 - Tommy Wu / @TommyJSWu

05/02/2016 at 03:06PM