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 51f4a64c6813e30002000018

quotes inside quotes

taken from tip 85 of the very good book 'Practical Vim: Edit Text at the Speed of Thought' ! I'd be interested what people use :)

Start file
This string contains a 'quoted' word.
This string contains 'two' quoted 'words.'
This 'string doesn't make things easy.'
End file
This string contains a "quoted" word.
This string contains "two" quoted "words."
This "string doesn't make things easy."

View Diff

1,3c1,3
< This string contains a 'quoted' word.
< This string contains 'two' quoted 'words.'
< This 'string doesn't make things easy.'
---
> This string contains a "quoted" word.
> This string contains "two" quoted "words."
> This "string doesn't make things easy."

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 1078 remaining solutions by signing in and submitting your own entry
#1079 mko_io / @mko_io - Score: 189 - 06/14/14 @ 16:10
f'cs'"f'<Right>cs'"f'S"jjujj<Esc><Esc>ulf'c"s"<C-O>'f'l<BS><BS><Right><Right><Right><Right><Right><Right>x<Right><BS><BS>"<Esc><Esc>jhhhhhhhhhS"uj<Esc><Esc>uf'Sujj<Esc><Esc>ulllllllllllllllllllllC<Esc>us"<Esc><Right><Right><Right><Right>s"<Right><Right><Right><Right><Right><Right><Right><Right>s"<BS><BS><Right><Left>s"<BS><BS><Esc><Esc><Right>s"<Right><Right><Right><Right><Right><Right><Right><BS>s<BS>S<BS>"<Down><BS>"<Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><BS>"<Esc><Esc>ZZ

0 comments


Created by: @GlobalMaquereau

1079 active golfers, 3165 entries

Leaderboard (lowest score wins):
17
#781 - KR / @ClubPersh

01/29/2014 at 01:20AM

17
#782 - Chris Ciulla / @chris_ciulla

01/29/2014 at 03:08AM

17
#783 - Jay R Bolton / @the_swerve

01/29/2014 at 03:21AM

17
#784 - Trevor / @bebopninja

01/29/2014 at 01:09PM

17
#785 - Andrew Clissold / @aclissold

01/30/2014 at 01:34PM

17
#786 - Korbinian Stoemmer / @PaulSmecker

01/30/2014 at 08:48PM

17
#787 - Aurélien Vallée / @aurelienvallee

01/31/2014 at 12:58PM

17
#788 - jimauthors / @jimauthors

02/01/2014 at 12:06AM

17
#789 - Olivier Parent / @oliparcol

02/02/2014 at 04:05PM

17
#790 - Shadow Fiend / @Qumidium

02/02/2014 at 04:37PM

17
#791 - Amy Lim / @chasingkytes

02/03/2014 at 12:07AM

17
#792 - freestlr / @freestlr

02/03/2014 at 08:53AM

17
#793 - Rustam A. Gasanov / @rustamagasanov

02/03/2014 at 06:30PM

17
#794 - Lance B / @HeyItsLanceB

02/03/2014 at 11:06PM

17
#795 - Kevin Thompson / @kevinthompson

02/05/2014 at 06:42PM

17
#796 - Patrick Oscity / @der_padde

02/10/2014 at 12:02AM

17
#797 - Михайлов Борис / @kagux

02/24/2014 at 10:06AM

17
#798 - shinokada / @shinokada

02/26/2014 at 12:34PM

17
#799 - Steven Wiggins / @StevenWiggins

02/27/2014 at 04:31PM

17
#800 - Ernest Walzel / @ErnestWalzel

02/28/2014 at 08:38AM

17
#801 - Aaron Bohannon / @morefun2compute

02/28/2014 at 11:28PM

17
#802 - Ri / @riateche

03/01/2014 at 10:11PM

17
#803 - Victor Ramirez / @virako

03/04/2014 at 08:43AM

17
#804 - Nicholas Land / @LandsPlanet

03/06/2014 at 08:09PM

17
#805 - Brandon / @bjpowel2

03/06/2014 at 08:39PM

17
#806 - Bart / @oneofmanybarts

03/10/2014 at 03:39PM

17
#807 - Bo Zhi / @zhibo_ng

03/11/2014 at 08:04AM

17
#808 - Sean Huber / @bonquesha99

03/12/2014 at 04:56PM

17
#809 - Yiyang Chen / @stackngxc

03/16/2014 at 12:55PM

17
#810 - Brian Olpin / @bolpin

03/22/2014 at 10:06PM