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

3088 active golfers, 11390 entries

Leaderboard (lowest score wins):
10
#331 - Adv_Zxy / @adv_zxy

12/26/2015 at 09:50AM

10
#332 - Brian C Sparks / @briancsparks

12/28/2015 at 02:15PM

10
#333 - Lucien Baron / @Luci1B

12/30/2015 at 08:03AM

10
#334 - Michael / @Michael57309129

12/30/2015 at 10:20AM

10
#335 - Saki Gw / @Sakigw

01/03/2016 at 05:31PM

10
#336 - jackliusr / @jackliusr

01/07/2016 at 08:23AM

10
#337 - Evgeny`s Kindle / @EvgenyKindle

01/07/2016 at 11:57PM

10
#338 - Alan Kang / @alankang

01/08/2016 at 01:20AM

10
#339 - hen don / @hendon112

01/09/2016 at 02:14AM

10
#340 - Roberto Carraretto / @robcarraretto

01/09/2016 at 01:41PM

10
#341 - Goonoo Kim / @mctenshi

01/09/2016 at 01:52PM

10
#342 - Adrian Roston / @akroston

01/12/2016 at 06:04PM

10
#343 - Sergey Fedorov / @Shade30

01/13/2016 at 08:19AM

10
#344 - Aleksey Zhidkov / @AlexeyZhidkov

01/14/2016 at 09:31AM

10
#345 - j c / @CLiquidee

01/16/2016 at 01:33PM

10
#346 - Mathias / @wizhie

01/16/2016 at 02:34PM

10
#347 - Andrii Maksai / @AMaksai

01/20/2016 at 02:58PM

10
#348 - vimcoder / @Khanal12Uttam

01/21/2016 at 08:08PM

10
#349 - Elgaoussi Hamza / @Elgaoussi

01/27/2016 at 07:30PM

10
#350 - Joy Gao / @joygao

01/28/2016 at 10:37PM

10
#351 - Ian Trophy / @prfrgg

01/29/2016 at 08:33PM

10
#352 - Daniel Suh / @18kehops

02/01/2016 at 11:39AM

10
#353 - Thijs van den Anker / @thijsvdanker

02/04/2016 at 07:46PM

10
#354 - trbvn / @trbvntrbvn

02/10/2016 at 04:44PM

10
#355 - Mathias Andersson / @Wraul

02/13/2016 at 06:33PM

10
#356 - ben kavanagh / @bkava

02/17/2016 at 10:12PM

10
#357 - Drenn / @drenn9

02/17/2016 at 10:43PM

10
#358 - Piotr Kowenzowski / @sacherus

02/17/2016 at 11:06PM

10
#359 - Corsin Pfister / @corsin_pfister

02/20/2016 at 11:58AM

10
#360 - Xiaocan Li / @XiaocanLi

02/20/2016 at 05:50PM