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

2870 active golfers, 10438 entries

Leaderboard (lowest score wins):
10
#601 - Christian Panadero / @PaNaVTEC

07/13/2017 at 08:07PM

10
#602 - Andreas Bricelj / @mcbric

07/16/2017 at 08:58AM

10
#603 - Gabriel Siqueira / @Gabriel_HSiq

07/20/2017 at 05:39PM

10
#604 - Preben Guldberg / @wielder

07/24/2017 at 05:42AM

10
#605 - ck / @CherriKeener

07/25/2017 at 01:02PM

10
#606 - huho / @huho_xu

07/26/2017 at 07:50PM

10
#607 - devoh / @devvohh

07/30/2017 at 08:23AM

10
#608 - godot / @gclair80

08/09/2017 at 09:09PM

10
#609 - Renee Zhu / @reneezhu1994

08/10/2017 at 10:29PM

10
#610 - Philippe Brouillard / @_kurowasan

08/12/2017 at 05:30PM

10
#611 - brandon salmon / @Exiledz

08/13/2017 at 04:29AM

10
#612 - Wilson Alvarez / @Rubonnek

08/14/2017 at 09:51PM

10
#613 - Floris van Liere / @FlorisvanLiere

08/15/2017 at 08:55PM

10
#614 - Brian Vodicka / @BrianVodicka2

08/22/2017 at 10:28PM

10
#615 - Remy Kooistra / @rkooistra94

08/23/2017 at 02:50PM

10
#616 - Terry Ding / @TerryDing77

08/23/2017 at 03:20PM

10
#617 - Marcos de Oliveira / @MsOliveiraa

08/24/2017 at 02:35PM

10
#618 - Darren Weston / @dazWestonUK

08/29/2017 at 02:52PM

10
#619 - zava / @znl1087

09/03/2017 at 03:02PM

10
#620 - Alejandro Catalina / @AleexCatalina

09/10/2017 at 05:56PM

10
#621 - 郑晓东 / @DGivxLTVopiOQap

09/13/2017 at 06:02AM

10
#622 - bocadillodeatun / @bocadillodeatun

09/16/2017 at 07:58PM

10
#623 - herbage / @herbage2

09/17/2017 at 09:26PM

10
#624 - exsaber / @exsaber508

09/20/2017 at 05:56AM

10
#625 - Bonjew / @Bonjew_L

09/24/2017 at 05:20PM

10
#626 - Karamfil / @lz1aai

09/24/2017 at 09:36PM

10
#627 - F / @gofilby

09/26/2017 at 06:04PM

10
#628 - ybark / @ybark

09/27/2017 at 02:28PM

10
#629 - David Paul / @davidjohnpaul

09/29/2017 at 10:26AM

10
#630 - Jon Wålstedt / @jonwalstedt

09/30/2017 at 10:45PM