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
#481 - Taco V / @LasNachosGolfs

10/28/2016 at 10:24PM

10
#482 - Kracejic / @kracejic

10/30/2016 at 09:35PM

10
#483 - Majo / @majodurco

11/03/2016 at 01:59PM

10
#484 - Davis Fields / @i301585

11/04/2016 at 12:03AM

10
#485 - Wouter Beets / @BeetsWouter

11/07/2016 at 05:05PM

10
#486 - Ignacio Catalina / @ignaciocatalina

11/08/2016 at 01:56PM

10
#487 - George Crabtree / @supercrabtree

11/10/2016 at 06:35AM

10
#488 - Alan Turing / @alantrng

11/13/2016 at 07:25AM

10
#489 - Marko / @ultrox

11/14/2016 at 03:04AM

10
#490 - John Newbery / @jonnynewbs

11/14/2016 at 09:33AM

10
#491 - Ashish Narasimham / @asheeshkabob

11/17/2016 at 08:49PM

10
#492 - i1464083 / @i1464083

11/18/2016 at 11:44AM

10
#493 - Jon Louie / @jjisnow

11/23/2016 at 11:34AM

10
#494 - Wessel Sinnema / @wsinnema

11/26/2016 at 10:14AM

10
#495 - Sam Fleming / @samfleming5

11/29/2016 at 11:36AM

10
#496 - Benjamin Favre / @BFavreHCNX

12/02/2016 at 03:48PM

10
#497 - Liam S Ismail / @AC01Y

12/07/2016 at 01:29AM

10
#498 - Carbage Gollector / @CarbageG

12/14/2016 at 05:58AM

10
#499 - ABS JOHNSON / @ABSJOHNSON1

12/16/2016 at 02:11AM

10
#500 - Pierre Maoui / @poupougnac

12/17/2016 at 06:18PM

10
#501 - Andrew Huang / @TDAlgory

12/18/2016 at 08:40AM

10
#502 - Douglas Roper / @dougdroper

12/18/2016 at 02:43PM

10
#503 - John lolcats Manst / @lolcatsman

12/21/2016 at 09:16AM

10
#504 - Anakin / @xdxter

12/23/2016 at 05:53AM

10
#505 - Krishnakumar / @Krishna84417968

12/28/2016 at 09:06AM

10
#506 - golfing cobra / @golfingkobra

12/30/2016 at 12:20PM

10
#507 - Remus Dalrymple / @bornintheflames

12/30/2016 at 10:42PM

10
#508 - Peter Chynoweth / @pcchynoweth

01/02/2017 at 06:18PM

10
#509 - tu bai / @baidatutu

01/03/2017 at 03:02AM

10
#510 - Social Botolinum / @SocialBot4

01/04/2017 at 07:31PM