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

3277 active golfers, 12173 entries

Leaderboard (lowest score wins):
52
#3271 - Larry Adames / @LarryAdames

07/04/2019 at 05:12PM

55
#3272 - Kun-chan / @kurochirochan

03/24/2015 at 12:53AM

57
#3273 - Hugo / @szeyattai

08/05/2018 at 08:10AM

58
#3274 - Douglas Detoni / @douglas_detoni

06/19/2015 at 05:01PM

66
#3275 - 박주영 / @xhgnVrQ6uUJOTnB

06/29/2018 at 08:35AM

72
#3276 - Andy / @ayyjayess

11/13/2014 at 09:50PM

75
#3277 - JerryChiu / @pv31508

08/18/2015 at 02:00PM