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

3275 active golfers, 12160 entries

Leaderboard (lowest score wins):
10
#391 - Luke Powell / @luxgladius

05/02/2016 at 04:54PM

10
#392 - Yudi Matsuzake / @yudimatsuzake

05/03/2016 at 12:54PM

10
#393 - John Goes / @johnwgoes

05/03/2016 at 03:26PM

10
#394 - Darren Tsung / @darrentsung

05/04/2016 at 07:38PM

10
#395 - Atrament / @Atrament

05/11/2016 at 09:00PM

10
#396 - Tom / @CronutFacts

05/12/2016 at 01:26AM

10
#397 - Victorien Lorcy / @LorcyVictorien

05/12/2016 at 09:30AM

10
#398 - Michael Buckley / @apolatg

05/12/2016 at 08:03PM

10
#399 - John Smith / @JohnSmith448816

05/15/2016 at 03:01AM

10
#400 - vic © / @2r2w

05/20/2016 at 10:22AM

10
#401 - Slawek Zachcial / @SlawekZachcial

05/22/2016 at 02:28PM

10
#402 - Justin Snopek / @JustinSnopek

05/25/2016 at 11:22PM

10
#403 - John Doe Sr. / @johndoe67890543

05/26/2016 at 12:52AM

10
#404 - Tautvilas / @TautviIas

05/26/2016 at 02:22PM

10
#405 - Arijus / @argshook

05/26/2016 at 02:23PM

10
#406 - Artūras Zakrevskis / @AZakrevskis

05/26/2016 at 02:24PM

10
#407 - Robin Ramael / @RobinRamael

05/30/2016 at 02:19PM

10
#408 - Gabriel Tailor / @gabriel_tailor

06/02/2016 at 11:58AM

10
#409 - Ab Ge / @pwahsa

06/04/2016 at 10:56AM

10
#410 - David Cao / @pciex3

06/05/2016 at 02:01AM

10
#411 - tgmeng / @lazy_fabric

06/06/2016 at 09:23AM

10
#412 - Peter Nagy / @xificurC

06/06/2016 at 10:17AM

10
#413 - Ameen P / @Ameen_P1

06/07/2016 at 06:47PM

10
#414 - Pablo R. Dinella / @pablordinella

06/10/2016 at 01:40PM

10
#415 - Tai Le Tien / @letientai299

06/11/2016 at 03:22PM

10
#416 - Paweł Smołka / @pawelsmolka

06/14/2016 at 02:55PM

10
#417 - TaoChen / @632143592Tao

06/15/2016 at 04:25AM

10
#418 - prasanth / @prasanthsai

06/16/2016 at 06:14AM

10
#419 - Robert Basic / @robertbasic

06/16/2016 at 01:17PM

10
#420 - Jacob Niehus / @wilywampa

06/18/2016 at 06:14PM