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

3166 active golfers, 11699 entries

Leaderboard (lowest score wins):
10
#121 - locksten / @locksten

03/06/2015 at 08:18PM

10
#122 - Johan Wiren / @johanwiren

03/07/2015 at 06:37PM

10
#123 - Augustin Trancart / @autra42

03/08/2015 at 02:09PM

10
#124 - crittelmeyer / @crittelmeyer

03/08/2015 at 10:23PM

10
#125 - Roger Spencer / @RojSpencer

03/12/2015 at 10:03PM

10
#126 - el R / @el_r

03/13/2015 at 11:08PM

10
#127 - Bradley Garagan / @bradgaragan

03/17/2015 at 02:18PM

10
#128 - Krzysztof / @Krzysztof2K

03/18/2015 at 07:26AM

10
#129 - Khalid Harun / @KhalidHarun

03/19/2015 at 08:06AM

10
#130 - Rod Knowlton / @codelahoma

03/22/2015 at 08:25PM

10
#131 - Kaleb Hornsby / @thekaleb

03/23/2015 at 04:08PM

10
#132 - Victor Ramirez / @virako

03/23/2015 at 06:09PM

10
#133 - Rafael Câmera Santos / @rafaelcamera

03/23/2015 at 07:40PM

10
#134 - jamesdrake / @oppaus

03/23/2015 at 11:19PM

10
#135 - Ian Egielski / @Ian_Egielski

03/25/2015 at 01:21PM

10
#136 - John Stephens ⚑ / @johnstephens

03/26/2015 at 02:18PM

10
#137 - Alexander Kazakov / @volandkot

03/26/2015 at 02:48PM

10
#138 - Roman Zolotarev / @romanzolotarev

03/26/2015 at 04:53PM

10
#139 - Ruslan / @DarkhanRus

03/27/2015 at 03:35PM

10
#140 - イタシ / @wwitashi

03/28/2015 at 05:27AM

10
#141 - Robin Moussu / @robin_moussu

03/29/2015 at 09:59PM

10
#142 - Bruce Park / @bpark0

03/29/2015 at 11:32PM

10
#143 - Allie Schrader / @amschrader

03/30/2015 at 05:44AM

10
#144 - You Mustnotknow / @y8hVz6fJdm6Lt5q

04/03/2015 at 12:40PM

10
#145 - Raj / @brshenoy

04/03/2015 at 04:43PM

10
#146 - Charles A. Bouffard / @the_cabouffard

04/04/2015 at 05:22AM

10
#147 - johannes err / @into_the_beta

04/04/2015 at 07:21PM

10
#148 - E Both / @enboth

04/05/2015 at 09:27AM

10
#149 - Fan Zhang / @2bDeactivat3d

04/05/2015 at 11:22PM

10
#150 - MapiMopi / @mapi_mopi

04/06/2015 at 05:35AM