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):
14
#91 - Daniel Jonsson / @DanielJonss

01/21/2014 at 10:06AM

14
#92 - John Amicangelo / @AmicangeloJohn

01/21/2014 at 05:10PM

14
#93 - Rasmus P / @rasmup

01/21/2014 at 06:33PM

14
#94 - Thomas / @lslahrs

01/21/2014 at 09:56PM

14
#95 - Omer Lachish / @rauchy

01/28/2014 at 01:28PM

14
#96 - Pete Gadomski / @petegadomski

01/28/2014 at 11:05PM

14
#97 - JamesT / @jamestrinklein

01/29/2014 at 07:27AM

14
#98 - Jonathan Slenders / @jonathan_s

01/29/2014 at 11:00AM

14
#99 - Starski / @mstarski

01/29/2014 at 12:29PM

14
#100 - Tyler Holien / @tylerholien

01/29/2014 at 08:50PM

14
#101 - John Karlsson / @karlssonjohn

01/29/2014 at 09:39PM

14
#102 - Michał Śliwoń / @mihcall

01/29/2014 at 09:54PM

14
#103 - TerribleTrioJoe / @terribletriojoe

01/29/2014 at 11:45PM

14
#104 - Jakob Lundberg / @JakobLundberg

01/30/2014 at 04:20PM

14
#105 - Francisco J Martin / @aficionado

01/31/2014 at 03:38AM

14
#106 - Qhuatre / @Qhuatre

02/01/2014 at 03:19PM

14
#107 - Marcin Radomski / @_dextero

02/01/2014 at 05:06PM

14
#108 - Jonathan Ellington / @JEllington90

02/02/2014 at 09:05PM

14
#109 - Reese Wilson / @shinyvimgolf

02/03/2014 at 04:05AM

14
#110 - grey wolfs / @grey_wolfs

02/03/2014 at 06:02AM

14
#111 - Bill Gates / @BillGat80055899

02/03/2014 at 12:34PM

14
#112 - Strabs / @artistavenue

02/03/2014 at 03:22PM

14
#113 - Simon George / @sfcgim

02/04/2014 at 02:47PM

14
#114 - Kirill Gordeenko / @kgordeenko

02/04/2014 at 05:03PM

14
#115 - Zudov / @zudov_me

02/04/2014 at 05:21PM

14
#116 - Vlad-Ștefan Harbuz / @vladh

02/11/2014 at 11:15AM

14
#117 - Cullen O'Neill / @Kujaon

02/11/2014 at 06:22PM

14
#118 - Franco Biasin / @francoKazan

02/12/2014 at 09:55PM

14
#119 - Ben Lambeth / @azy2_ben

02/12/2014 at 10:29PM

14
#120 - Michael Bitzi / @mibitzi

02/14/2014 at 09:11PM