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
#121 - Павел Шнель / @lic06397

02/15/2014 at 09:13AM

14
#122 - radu petrutiu / @radu_petrutiu

02/15/2014 at 01:14PM

14
#123 - Jean / @ygu0_0

02/16/2014 at 10:16AM

14
#124 - Geraint Hywel / @g_mawr

02/16/2014 at 11:07PM

14
#125 - Rajit Singh / @rajitbsingh

02/21/2014 at 04:12PM

14
#126 - Gennadiy Leyfer / @gleyfer

02/23/2014 at 11:18PM

14
#127 - Dheeraj Sayala / @dheerosaur

02/25/2014 at 01:21PM

14
#128 - Marchand Paul-Valère / @pvmarch

02/25/2014 at 04:34PM

14
#129 - Jack Jacquemmoz / @MozJack

02/27/2014 at 04:14PM

14
#130 - Mina Naguib / @minaguib

02/28/2014 at 03:17AM

14
#131 - Jeremy Gold / @JeremyGold3

02/28/2014 at 09:10AM

14
#132 - Space Sloth / @daspacesloth

03/05/2014 at 02:32AM

14
#133 - hk3380 / @hk3380

03/12/2014 at 01:55AM

14
#134 - Joonas Pihlajamaa / @jokkebk

03/17/2014 at 10:06AM

14
#135 - Matt Stinson / @MrMatt2532

03/20/2014 at 02:46AM

14
#136 - Jeff / @just_geophree

03/29/2014 at 06:45PM

14
#137 - Amit Verma / @amitv12

03/29/2014 at 09:29PM

14
#138 - Mike Michalik / @Sh4deFM

04/01/2014 at 03:51AM

14
#139 - Kris Hom / @krishom

04/04/2014 at 08:29PM

14
#140 - ZorgroZ / @ZorgroZ

04/12/2014 at 06:03PM

14
#141 - André Peric Tavares / @AndrePeric

04/20/2014 at 02:37AM

14
#142 - kiho choi / @ArtStandAlone

04/21/2014 at 09:55AM

14
#143 - 土ヤ / @ttsuchiya

04/25/2014 at 03:08PM

14
#144 - Peeby Thirtyone / @peeby31

05/04/2014 at 10:15AM

14
#145 - Nolen Royalty / @NolenRoyalty

05/08/2014 at 08:05AM

14
#146 - zmo / @guyzmo

05/08/2014 at 12:02PM

14
#147 - Henry Blevins / @HenryBlevins

05/18/2014 at 04:12PM

14
#148 - Alex / @ven_y_toma

05/18/2014 at 10:45PM

14
#149 - Federico Galassi / @federicogalassi

05/27/2014 at 02:50AM

14
#150 - Alex Tercete / @alextercete

06/03/2014 at 12:03PM