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
#241 - Rudolfs Sohn / @rudolf_son

08/28/2015 at 12:27PM

10
#242 - T A / @SirAviles

08/29/2015 at 08:04PM

10
#243 - Sime Buljac / @sim_bul

08/31/2015 at 12:41PM

10
#244 - Kirill Cherkashin / @kirjs

08/31/2015 at 06:57PM

10
#245 - Jinzhou Zhang / @jinzhouz

09/02/2015 at 08:19AM

10
#246 - Igor Martynov / @snailbaron

09/07/2015 at 04:40PM

10
#247 - MikeT / @mik3t

09/11/2015 at 02:06AM

10
#248 - Gerhard Gappmeier / @gergap

09/11/2015 at 08:51PM

10
#249 - Tamas Gal (Tom) / @tamasgal

09/13/2015 at 06:56PM

10
#250 - dd / @dd22147119

09/14/2015 at 02:41PM

10
#251 - Kevin Merlin / @mp3merlin

09/17/2015 at 08:14AM

10
#252 - 浮云总是梦 / @cloudisdream

09/17/2015 at 09:22AM

10
#253 - Obviouscator / @obviouscator

09/17/2015 at 11:37AM

10
#254 - Douglas Perrin / @Deznormal

09/21/2015 at 12:55AM

10
#255 - Thomas Draper / @QuanTom561

09/23/2015 at 05:41PM

10
#256 - meribold / @mribld

09/26/2015 at 01:40AM

10
#257 - Marc Cathomen / @marccathomen

09/26/2015 at 11:22PM

10
#258 - Mike Adams / @davis_cromwell

09/27/2015 at 12:19AM

10
#259 - Hesh / @heshihao

09/27/2015 at 11:47AM

10
#260 - Andreas Carben / @meiner_eins

09/27/2015 at 01:28PM

10
#261 - Self Doc Code / @self_doc_code

09/27/2015 at 08:07PM

10
#262 - Jon Krause / @jkrause314

09/29/2015 at 04:30AM

10
#263 - Walker Boh / @walker_boh

09/30/2015 at 07:14AM

10
#264 - Slimior / @Slimior

09/30/2015 at 12:29PM

10
#265 - Ali Moeeny / @alimoeeny

10/01/2015 at 06:49PM

10
#266 - 이 철희 / @leechulhee95

10/02/2015 at 03:02AM

10
#267 - Daniel Beck / @daniel_beck_il

10/02/2015 at 03:18PM

10
#268 - Julian Andrews / @NoLemurs

10/03/2015 at 03:06AM

10
#269 - Sean Hill / @insecteanSean

10/03/2015 at 04:26AM

10
#270 - Alexander Schlüter / @ArlecksHunt

10/03/2015 at 08:03PM