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

3225 active golfers, 11960 entries

Leaderboard (lowest score wins):
42
#3211 - Briana Baker / @brianacodes

12/21/2018 at 09:46PM

44
#3212 - Tsatsi Mahase / @tsatsi_mahase

12/15/2014 at 06:16PM

44
#3213 - 阑珊灯火 / @PercyLixc

06/21/2018 at 12:40PM

48
#3214 - shellfire32 / @shellfire32

11/25/2016 at 02:05PM

48
#3215 - Haishan / @carlhan

03/03/2017 at 04:47PM

48
#3216 - Matthias Kausl / @sig_segv

04/25/2019 at 06:24PM

49
#3217 - chenqiqi / @chenqiqi13

03/28/2019 at 05:03PM

52
#3218 - Ilya Grigorik / @igrigorik

01/19/2015 at 06:00AM

52
#3219 - Larry Adames / @LarryAdames

07/04/2019 at 05:12PM

55
#3220 - Kun-chan / @kurochirochan

03/24/2015 at 12:53AM

57
#3221 - Hugo / @szeyattai

08/05/2018 at 08:10AM

58
#3222 - Douglas Detoni / @douglas_detoni

06/19/2015 at 05:01PM

66
#3223 - 박주영 / @xhgnVrQ6uUJOTnB

06/29/2018 at 08:35AM

72
#3224 - Andy / @ayyjayess

11/13/2014 at 09:50PM

75
#3225 - JerryChiu / @pv31508

08/18/2015 at 02:00PM