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

3092 active golfers, 11407 entries

Leaderboard (lowest score wins):
10
#301 - Ryuichiro / @ryuichiro44

11/19/2015 at 08:33PM

10
#302 - AD / @Lievr0

11/21/2015 at 04:47AM

10
#303 - Stoyko Stanchev / @stoykostanchev

11/22/2015 at 05:54AM

10
#304 - JoeyLyn / @JJoofk

11/22/2015 at 08:44AM

10
#305 - thejojo87 / @thejojo1987

11/22/2015 at 02:54PM

10
#306 - chris nojima / @chrisnojima

11/23/2015 at 12:26AM

10
#307 - Valery / @MrComBin

11/23/2015 at 10:18AM

10
#308 - Brian / @bsamek

11/23/2015 at 09:36PM

10
#309 - Kaue Silveira / @kssilveira

11/25/2015 at 11:17PM

10
#310 - EatYourGreens / @VimTwo

11/27/2015 at 12:29PM

10
#311 - Justin Harjanto / @YouGotOwnedGirl

11/27/2015 at 08:38PM

10
#312 - Casey Pearring / @StandardBias

11/27/2015 at 08:43PM

10
#313 - kleiduif / @bertwinwubs

11/29/2015 at 12:18AM

10
#314 - Wilmer Bandres / @WilmerBandres

11/30/2015 at 10:54PM

10
#315 - Pure OG Kush / @mcnuggies420

12/01/2015 at 10:11PM

10
#316 - Tim Abramson / @timabramson

12/05/2015 at 08:56PM

10
#317 - Gordon / @gordonczedik

12/07/2015 at 11:16AM

10
#318 - Patrick Cichon / @the_nQL

12/07/2015 at 06:10PM

10
#319 - Li Nuo / @li_nuo

12/08/2015 at 05:11PM

10
#320 - John Xia / @xiaman

12/15/2015 at 05:06PM

10
#321 - Ben / @CubicPants

12/16/2015 at 11:54PM

10
#322 - Jan Path / @jan_path

12/17/2015 at 06:14PM

10
#323 - Alexey Belkov / @larksvroom

12/20/2015 at 12:57PM

10
#324 - sellerie schnitzel / @sellerieschnitz

12/22/2015 at 10:44AM

10
#325 - Elrrrrrrr / @Elrrrrrrr

12/23/2015 at 09:23AM

10
#326 - Fabi / @zehdeh90

12/23/2015 at 09:39AM

10
#327 - Aris Kotzias / @ArisKotzias

12/23/2015 at 03:04PM

10
#328 - ⏠ᛚᵩ⅜⛭␂⇰✥⛨⦿⨭ᣀ⑲⇻ / @gardensimulator

12/23/2015 at 07:21PM

10
#329 - Sam Stites / @SamStites

12/25/2015 at 05:57AM

10
#330 - Egg / @hammingdistanc1

12/26/2015 at 01:40AM