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

2870 active golfers, 10438 entries

Leaderboard (lowest score wins):
10
#421 - Kirill Sidenko / @KirillSidenko

06/19/2016 at 10:42AM

10
#422 - Timothy Caleb Nordlo / @tnordloh

06/26/2016 at 12:20AM

10
#423 - Jeanno / @JeannoHS

06/27/2016 at 11:01AM

10
#424 - Girish Gokul / @girishgoku

07/14/2016 at 04:11AM

10
#425 - Sandeep Dhavale / @sandeep_dhavale

07/20/2016 at 02:47PM

10
#426 - Alonzo / @tolver_a

07/22/2016 at 05:13AM

10
#427 - Benjamin Espey / @bennyty

07/22/2016 at 08:59PM

10
#428 - Michael Alan / @scryne

07/23/2016 at 04:13PM

10
#429 - Daniel Flanagan / @lytedev

08/09/2016 at 09:21AM

10
#430 - Maxime Reis / @MaximeReis

08/12/2016 at 03:03PM

10
#431 - swarkEafs / @EafsSwark

08/13/2016 at 08:34PM

10
#432 - Will / @obiwan__k3n00bi

08/14/2016 at 12:29AM

10
#433 - Richard O'Brien / @richard0b

08/18/2016 at 05:56AM

10
#434 - jaresty / @jaresty

08/18/2016 at 06:05PM

10
#435 - Ivan De Dios / @IvantheDugtrio

08/22/2016 at 04:47AM

10
#436 - Stanislav / @prstad

08/22/2016 at 10:05AM

10
#437 - hyhit / @hyhit2

08/23/2016 at 06:35AM

10
#438 - Jonathan Johnson / @jonmarkjohnson

08/23/2016 at 03:34PM

10
#439 - citaret / @citaret

08/24/2016 at 05:01AM

10
#440 - onedayrex / @onedayzns

08/24/2016 at 09:44AM

10
#441 - Guillem Blanco / @BlancoGuillem

08/24/2016 at 01:13PM

10
#442 - Stephen Aument / @saument

08/30/2016 at 05:15PM

10
#443 - Stefan Raab / @cumpilation

08/31/2016 at 12:56PM

10
#444 - Karol Ɓukaszewicz / @Karolukaszewicz

09/01/2016 at 05:49PM

10
#445 - jdupont655 / @jdupont655

09/01/2016 at 11:27PM

10
#446 - loki2441 / @loki2441

09/05/2016 at 10:27AM

10
#447 - ILikeVim / @VimIsCool

09/05/2016 at 01:46PM

10
#448 - Peter / @sunirbmag

09/05/2016 at 08:52PM

10
#449 - Mateusz / @Mantos77

09/06/2016 at 08:30AM

10
#450 - Alexander / @vlasyuk_a

09/06/2016 at 05:40PM