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

3130 active golfers, 11557 entries

Leaderboard (lowest score wins):
21
#2851 - Hank Chinaski / @uktechman

04/22/2016 at 02:34PM

21
#2852 - karcaw / @karcaw

09/03/2016 at 12:36AM

21
#2853 - John Wilson / @Login4anonymity

10/06/2016 at 05:21AM

21
#2854 - Ninja Gun / @ninjagun

10/06/2016 at 10:33PM

21
#2855 - Stein van Zwoll / @SteinvanZwoll

11/21/2016 at 11:43AM

21
#2856 - Zbyszek J / @zbig83

01/06/2017 at 08:55PM

21
#2857 - 馬的愛人 / @felipeanchieta_

01/25/2017 at 04:53AM

21
#2858 - NG / @dueyfinster

02/07/2017 at 04:53PM

21
#2859 - Maciej Mionskowski / @maciekmm_

02/22/2017 at 11:37AM

21
#2860 - Way Yan / @WayYan35002527

05/07/2017 at 02:40AM

21
#2861 - Ryan Coopersmith / @RyanCoopersmit1

06/03/2017 at 04:27PM

21
#2862 - Wiktor Jeziorski / @WiktorJeziorsk1

08/16/2017 at 05:32PM

21
#2863 - Elronnd / @earenndil

08/26/2017 at 05:45AM

21
#2864 - Piotr Kowalik / @pietrasagh

09/17/2017 at 06:26PM

21
#2865 - DBattou / @DBattou

03/19/2018 at 04:27PM

21
#2866 - Walerian Sobczak / @walerian777

05/04/2018 at 09:37AM

21
#2867 - Kyle Partridge / @partkyle

06/06/2018 at 08:31PM

21
#2868 - 권순재 / @FhOrZyV4MhUNXQx

06/29/2018 at 07:45AM

21
#2869 - jestem króliczkiem / @karlicoss

07/14/2018 at 01:11PM

21
#2870 - Dylan Waits / @pianoman320

07/15/2018 at 12:10AM

21
#2871 - Branquito / @branquito

07/15/2018 at 10:50PM

21
#2872 - Daniel Gordon / @DGordonCS

07/23/2018 at 10:27PM

21
#2873 - Jordan 🌈 / @JordanCallumA

08/01/2018 at 08:11AM

21
#2874 - 无眠的夜狐狸 / @fox_ni

08/15/2018 at 03:08AM

21
#2875 - Mohammad Anton R. S. / @Moanrisy

09/12/2018 at 03:35AM

21
#2876 - Alex Mitchell / @alexthemitchell

09/21/2018 at 09:21PM

21
#2877 - vimgolfer1234 / @vimgolfer12342

10/25/2018 at 12:12AM

21
#2878 - vg / @vg53210350

10/28/2018 at 06:11PM

21
#2879 - editor3D / @editor3D

11/12/2018 at 07:31PM

21
#2880 - Hendrik Dalagan / @hendrikdalagan

11/21/2018 at 10:07PM