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
#541 - Daniel Hjelm / @dhjelm

03/08/2017 at 12:06PM

10
#542 - Andre Cato / @DreBear800

03/09/2017 at 07:00PM

10
#543 - Jan Liu / @Jagsomarjan

03/10/2017 at 10:14AM

10
#544 - Alexander Bessonov / @nonsleepr

03/12/2017 at 04:51AM

10
#545 - Evan Relf / @evanrelf

03/16/2017 at 03:05AM

10
#546 - Ilya Shakirov / @aelaau

03/20/2017 at 08:07AM

10
#547 - Andreas Anderbach / @anderbacha

03/20/2017 at 09:45AM

10
#548 - Sergey Ryabko / @RyabkoSergey

03/22/2017 at 08:14PM

10
#549 - Cameron Jones / @Deimyts

03/23/2017 at 04:01PM

10
#550 - Tose / @Toseim

03/25/2017 at 10:54AM

10
#551 - Daniel / @Daniel00288663

03/27/2017 at 01:54PM

10
#552 - D W / @dweij1

03/30/2017 at 01:02PM

10
#553 - Solomon / @Trugbildjaeger

03/30/2017 at 07:06PM

10
#554 - sharklasers552 / @sharklasers552

04/11/2017 at 02:58AM

10
#555 - vvv / @vvv71630351

04/15/2017 at 02:15PM

10
#556 - えるざっぷ / @_elzup_

04/20/2017 at 09:30AM

10
#557 - Tom BP / @ThosBP

04/20/2017 at 10:48AM

10
#558 - 梧桐王子 / @WutongYujie

04/21/2017 at 06:11AM

10
#559 - Pratik Prasad / @pratik

04/22/2017 at 01:58PM

10
#560 - Jason Hooper 🇨🇦 / @jasonincanada

04/22/2017 at 10:49PM

10
#561 - Apostolis Hardalias / @a_hardalias

04/23/2017 at 04:29PM

10
#562 - Rami Hovi / @hacker_lawyer

04/25/2017 at 08:32AM

10
#563 - Ionel Manolache / @namnoi38

04/25/2017 at 03:10PM

10
#564 - Anton Matveev / @aush_tx

04/28/2017 at 04:15AM

10
#565 - Chris Robertson / @chrisxrobertson

04/30/2017 at 01:30PM

10
#566 - Acid One / @AcidOne2

05/02/2017 at 12:48PM

10
#567 - Allen | Wheels / @SRWheel5

05/02/2017 at 11:39PM

10
#568 - Arnie Palmies / @ArnieViPalmies

05/05/2017 at 05:06PM

10
#569 - dvorak / @dvorak0

05/06/2017 at 02:28PM

10
#570 - Deon Daehyun Kim / @deaccentaiguTWT

05/07/2017 at 05:08PM