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

2957 active golfers, 10814 entries

Leaderboard (lowest score wins):
10
#271 - compuserved / @compuserved

10/04/2015 at 04:39AM

10
#272 - ojung / @oskrjung

10/04/2015 at 10:20AM

10
#273 - Paulo H Baumann / @PauloBaumann

10/05/2015 at 12:08AM

10
#274 - Domingue Justin / @_jdomingue

10/08/2015 at 05:52PM

10
#275 - Artur Taranchiev / @ewokru

10/10/2015 at 04:46PM

10
#276 - LordFoom / @LordFoom

10/12/2015 at 03:45PM

10
#277 - 朱国栋 / @GuodongZhu

10/13/2015 at 05:39AM

10
#278 - Mina Naguib / @minaguib

10/14/2015 at 02:37AM

10
#279 - Marcus Peacock / @MarcusDPeacock

10/14/2015 at 02:54PM

10
#280 - [object Object] / @marinintim

10/15/2015 at 02:10PM

10
#281 - Valacar / @valacar

10/17/2015 at 05:36AM

10
#282 - Artem Medeusheyev / @ArtemMedeu

10/20/2015 at 08:12AM

10
#283 - Harm te Hennepe / @HrmtH

10/21/2015 at 08:58AM

10
#284 - Simon Dudley / @psy__phi

10/21/2015 at 09:57PM

10
#285 - Carsten Dreesbach / @HerbCSO

10/22/2015 at 08:22AM

10
#286 - Gleb Kh / @GlebKh

10/24/2015 at 05:23AM

10
#287 - Matthew Desjardins / @Desjardins_M

10/25/2015 at 03:40AM

10
#288 - Jacob Steffler / @jacobsteffler

10/25/2015 at 07:25PM

10
#289 - Justin Sermeno / @justinsermeno

10/29/2015 at 04:17AM

10
#290 - Ben Harris / @bharrisau

11/01/2015 at 02:41AM

10
#291 - Julien Grenier / @juliengrenier

11/02/2015 at 02:18PM

10
#292 - Faat / @i_faat

11/03/2015 at 06:06PM

10
#293 - Huan Zhang / @Zhhuan

11/06/2015 at 04:46PM

10
#294 - Andy Loomis / @alumux

11/07/2015 at 04:52PM

10
#295 - Robert Clark / @rsclark2

11/07/2015 at 08:08PM

10
#296 - Marshall Croes / @marshallcroes

11/08/2015 at 01:04AM

10
#297 - Aaron Mininger / @AMininger

11/12/2015 at 01:56AM

10
#298 - Robert Perce / @robertperce

11/13/2015 at 05:50AM

10
#299 - kris / @0xkrp

11/14/2015 at 01:15PM

10
#300 - Jayce Higgins / @HigginsJayce

11/19/2015 at 05:26PM