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

2966 active golfers, 10854 entries

Leaderboard (lowest score wins):
25
#2851 - Josh Weinstein / @j_weinstein

11/17/2014 at 10:33AM

25
#2852 - Juampy NR / @juampynr

12/08/2014 at 10:24AM

25
#2853 - Paweł Chwała / @pawel_chwala

04/18/2015 at 01:23PM

25
#2854 - Javier Fernández / @javierfdezg

11/18/2015 at 12:04AM

25
#2855 - Izabel Jelenić / @IzabelJelenic

12/21/2015 at 06:14AM

25
#2856 - Dušan Baran / @dudoslaf

10/26/2016 at 09:20PM

25
#2857 - Basile Perrenoud / @BP_DK_

06/08/2017 at 12:10PM

25
#2858 - Ryan Tran / @BlueAccords

10/18/2017 at 09:24PM

25
#2859 - sunxl / @sxlgkxk

02/14/2018 at 03:21PM

25
#2860 - Dylan Wilbur / @Dylanw37

07/23/2018 at 08:10PM

25
#2861 - urandom / @ttyrandom

10/20/2018 at 01:34PM

25
#2862 - sajdlkjsafkdshfkdsfs / @sajdlkjsafkdsh1

11/08/2018 at 11:52AM

25
#2863 - PassionXV / @XvPassion

11/08/2018 at 08:57PM

25
#2864 - jonbwhite / @jonbwhite

11/29/2018 at 01:20AM

25
#2865 - Monica Blaylock / @mblaylock415

11/29/2018 at 01:49AM

25
#2866 - jdw / @jdw76778810

01/23/2019 at 08:51AM

25
#2867 - •?((¯°·._.• ℓąµя๏ •._.·°¯))؟• / @lauro_aqui

02/01/2019 at 04:16PM

26
#2868 - Ketan Tada / @kvtada

12/03/2014 at 10:12AM

26
#2869 - optixx / @optixx

03/25/2015 at 07:42AM

26
#2870 - matty / @matty_books

12/26/2015 at 06:55AM

26
#2871 - Nicola Coretti / @NiCoRetti

05/31/2016 at 07:02PM

26
#2872 - Clalani / @clalania

10/13/2016 at 05:51PM

26
#2873 - myjunkmails / @myjunkmails

11/25/2016 at 08:46PM

26
#2874 - IZM / @Slydda_Litta

02/16/2018 at 03:45PM

26
#2875 - Ryan Bas / @ryanbas21

05/02/2018 at 03:47AM

26
#2876 - Mahesh Ramchandani / @m_sharp

08/16/2018 at 05:34PM

26
#2877 - nqiiii / @nqiiii1

08/27/2018 at 12:04PM

26
#2878 - Di Peng / @DCodier

10/31/2018 at 05:14AM

26
#2879 - david@@@@wang / @davidwa86717152

11/16/2018 at 09:02AM

26
#2880 - Casey K / @account_name_2

01/16/2019 at 08:26PM