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):
38
#2851 - The9ain / @the9ain

08/03/2018 at 01:42AM

38
#2852 - Lydia Cupery / @LCupery

10/20/2018 at 06:34PM

39
#2853 - Zhao Bin / @ZhaoBin2

06/08/2016 at 03:05PM

39
#2854 - Griffin Potrock / @griffpotrock

09/24/2018 at 10:46PM

40
#2855 - Brendan Killalea / @bkduoduo

05/11/2015 at 03:08PM

40
#2856 - Cawan Porto / @cawanporto

12/28/2017 at 05:48PM

40
#2857 - Lorenzo Swank / @lswank

01/06/2019 at 05:36AM

41
#2858 - hek / @hek

01/21/2015 at 07:27PM

42
#2859 - Briana Baker / @brianacodes

12/21/2018 at 09:46PM

44
#2860 - Tsatsi Mahase / @tsatsi_mahase

12/15/2014 at 06:16PM

44
#2861 - 阑珊灯火 / @PercyLixc

06/21/2018 at 12:40PM

48
#2862 - shellfire32 / @shellfire32

11/25/2016 at 02:05PM

48
#2863 - Haishan / @carlhan

03/03/2017 at 04:47PM

52
#2864 - Ilya Grigorik / @igrigorik

01/19/2015 at 06:00AM

55
#2865 - Kun-chan / @kurochirochan

03/24/2015 at 12:53AM

57
#2866 - Hugo / @szeyattai

08/05/2018 at 08:10AM

58
#2867 - Douglas Detoni / @douglas_detoni

06/19/2015 at 05:01PM

66
#2868 - 박주영 / @xhgnVrQ6uUJOTnB

06/29/2018 at 08:35AM

72
#2869 - Andy / @ayyjayess

11/13/2014 at 09:50PM

75
#2870 - JerryChiu / @pv31508

08/18/2015 at 02:00PM