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

2957 active golfers, 10814 entries

Leaderboard (lowest score wins):
10
#151 - 親の金でシャンプーを買うな / @jajkeqos

04/08/2015 at 07:48PM

10
#152 - Paul Diaconescu / @paulgtd

04/09/2015 at 07:20PM

10
#153 - Tournami / @Tournami

04/14/2015 at 09:33PM

10
#154 - Chad / @__chad__

04/15/2015 at 07:37PM

10
#155 - Roman Charuhin / @10mpy

04/16/2015 at 11:50AM

10
#156 - Server Zero / @assaflavie

04/16/2015 at 07:22PM

10
#157 - Charles Joachim / @cacplate

04/17/2015 at 01:35PM

10
#158 - Joop joopsen / @RapidLoL

04/20/2015 at 08:58PM

10
#159 - Bjorn / @bjorn_248

04/20/2015 at 09:50PM

10
#160 - Johannes Hansen / @JohannesEH

04/21/2015 at 03:00PM

10
#161 - matthieu le grix / @mlegrix

04/21/2015 at 08:11PM

10
#162 - Mark Saiget / @MarkSaiget

04/22/2015 at 04:12AM

10
#163 - mhweaver / @mhweaver

04/23/2015 at 03:25PM

10
#164 - Mattia Di Eleuterio / @madiele92

04/28/2015 at 12:06AM

10
#165 - Zach Morgan / @zpmorgan

05/01/2015 at 10:43PM

10
#166 - Corentin Lapeyre / @c_lapeyre

05/02/2015 at 05:56AM

10
#167 - James Baird / @jlbaird3

05/03/2015 at 08:41PM

10
#168 - Wade / @vvandy

05/06/2015 at 06:48PM

10
#169 - vim_ninja / @vim_ninja

05/08/2015 at 12:47AM

10
#170 - Marcio Junior / @marciojunior_me

05/09/2015 at 04:30PM

10
#171 - smokemachine / @smokemachine

05/09/2015 at 09:36PM

10
#172 - Alexey Golev / @alexeygolev

05/09/2015 at 11:19PM

10
#173 - danweaver / @danweaver

05/13/2015 at 05:17PM

10
#174 - Douglas Pollock / @desudation

05/15/2015 at 09:42PM

10
#175 - Peter Burt / @peterburt

05/17/2015 at 08:41PM

10
#176 - Steffen Köhler / @Baertierchen

05/17/2015 at 10:42PM

10
#177 - Camusensei / @Camusensei

05/19/2015 at 12:33PM

10
#178 - vimgolf11 / @vimgolf11

05/21/2015 at 04:20PM

10
#179 - Stephen Drodge / @sjdrodge

05/21/2015 at 06:48PM

10
#180 - Endymion / @r3_s0urce

05/21/2015 at 10:42PM