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
#211 - 𖤐 𝔅𝔞𝔡𝔤𝔢𝔯 𖤐 🦇 / @drksvnt

06/25/2015 at 12:07PM

10
#212 - DocThor Neuland / @DocThorNeuland

06/25/2015 at 07:01PM

10
#213 - mateon1 / @mateon1

06/27/2015 at 05:53PM

10
#214 - Adrian Krehl / @akrehl

07/03/2015 at 11:05AM

10
#215 - Mike / @creatre

07/06/2015 at 10:56PM

10
#216 - GoodNews / @AndBadNews

07/07/2015 at 03:39AM

10
#217 - Louis Burke / @LambdaABeta

07/07/2015 at 05:29PM

10
#218 - David Willming / @wdialvmeo

07/09/2015 at 04:48AM

10
#219 - José Rodrigues / @jyrodrigues

07/17/2015 at 11:51PM

10
#220 - Vincent Yu / @vyuniverse

07/22/2015 at 03:24AM

10
#221 - Greg Marcil / @grmarcil

07/23/2015 at 11:28PM

10
#222 - Jason Schulz / @uxcn_

07/25/2015 at 06:56AM

10
#223 - Quark / @PuzzleQuark

07/25/2015 at 10:09PM

10
#224 - David da Silva / @dasilvacontin

07/26/2015 at 05:21PM

10
#225 - Sam Morrison / @smauel87

07/26/2015 at 10:43PM

10
#226 - Hunter Gatewood / @hcgatewood

07/28/2015 at 03:26AM

10
#227 - Toni Dezman / @CesarekToni

07/28/2015 at 06:35PM

10
#228 - Shubham Sharma / @shubh1337

07/30/2015 at 05:52PM

10
#229 - William Burgo / @burgow

08/04/2015 at 08:03PM

10
#230 - Ferdev vimgolf / @fergvimgolf

08/07/2015 at 04:17AM

10
#231 - Veritas / @_VeritasL

08/13/2015 at 09:45AM

10
#232 - James Andy / @AndrewJamesIT

08/13/2015 at 11:36AM

10
#233 - Alykhan Kanji / @alykhank

08/14/2015 at 04:44AM

10
#234 - Дима Давыдов / @xaykot

08/14/2015 at 04:34PM

10
#235 - Nick Xiao / @nicoster

08/17/2015 at 02:55PM

10
#236 - broella3 / @broella3

08/19/2015 at 01:17PM

10
#237 - Paulo Romeira / @pauloromeira

08/21/2015 at 07:18AM

10
#238 - LC / @leeren

08/21/2015 at 11:04PM

10
#239 - Sam B / @samevanbrenner

08/22/2015 at 02:47AM

10
#240 - JS / @jjohsan

08/22/2015 at 10:03PM