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 4de6287b17a57a000100003f

formatted text to markdown

You're converting some posts from an old blog to markdown. The formatted text is far closer to the finished product than the html markup, so it seems like a good place to start. Word wrapping seems to be the main area for optimization.

Start file
But I think that there will still be many uses for publications. To have many articles bound together into a group. A magazine. A book. An album. And I haven't seen this done very well, up to this point. (Several e-zines I've seen just release a PDF, which I resent.) Though perhaps I have not seen it done well because I haven't looked much—I have seen an online-novel-in-process, which gives some vague notion of length via the prominent Table of Contents, but nothing as tangible even as a scrollbar or page numbers all lined up. And certainly not as tangible as a physical depth in my hands.
End file
But I think that there will still be many uses for publications. To
have many articles bound together into a group. A magazine. A book.
An album. And I haven't seen this done very well, up to this point.
(Several e-zines I've seen just release a PDF, which I resent.)
Though perhaps I have not seen it done well because I haven't looked
much—I have seen an [online-novel-in-process][1], which gives some vague
notion of length via the prominent Table of Contents, but nothing as
tangible even as a scrollbar or page numbers all lined up. And
certainly not as tangible as a physical depth in my hands.

  [1]: http://www.greengreenmud.com/

View Diff

1c1,11
< But I think that there will still be many uses for publications. To have many articles bound together into a group. A magazine. A book. An album. And I haven't seen this done very well, up to this point. (Several e-zines I've seen just release a PDF, which I resent.) Though perhaps I have not seen it done well because I haven't looked much—I have seen an online-novel-in-process, which gives some vague notion of length via the prominent Table of Contents, but nothing as tangible even as a scrollbar or page numbers all lined up. And certainly not as tangible as a physical depth in my hands.
---
> But I think that there will still be many uses for publications. To
> have many articles bound together into a group. A magazine. A book.
> An album. And I haven't seen this done very well, up to this point.
> (Several e-zines I've seen just release a PDF, which I resent.)
> Though perhaps I have not seen it done well because I haven't looked
> much&mdash;I have seen an [online-novel-in-process][1], which gives some vague
> notion of length via the prominent Table of Contents, but nothing as
> tangible even as a scrollbar or page numbers all lined up. And
> certainly not as tangible as a physical depth in my hands.
> 
>   [1]: http://www.greengreenmud.com/

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 60 remaining solutions by signing in and submitting your own entry
#61 Torben Rasmussen / @rasmustorben - Score: 98 - 08/15/11 @ 17:14
:se tw=69<NL>gqG3kwhcw&msa<BS><BS>dash<Del><Del>;<Esc>4wewi[<Esc>5w3wi]<Esc>a[1]<Esc>Go<NL>  [1]: http://www.greengreenmud.com/<NL><BS><BS><BS><Esc>ZZ

0 comments


Created by: @chadoh

61 active golfers, 170 entries

Leaderboard (lowest score wins):
70
#1 - Urtica dioica / @udioica

12/31/2012 at 04:46AM

70
#2 - John Braxler / @braxler

07/31/2014 at 09:04PM

74
#3 - Tim Chase / @gumnos

06/01/2011 at 01:43PM

74
#4 - Mikael Gustavsson / @slvmnd

06/06/2011 at 02:11PM

74
#5 - Hugh Carroll / @psaikido

07/01/2011 at 10:49AM

74
#6 - Hu Junfeng / @junfeng

07/07/2011 at 10:56AM

74
#7 - Simon's Calf / @simonscarfe

09/06/2011 at 12:16PM

74
#8 - Justin Love / @wondible

09/18/2011 at 10:32PM

74
#9 - Anders Janmyr / @andersjanmyr

10/05/2011 at 05:42AM

74
#10 - You-Siang Lin / @yslinnctu

11/29/2011 at 01:13AM

74
#11 - Balkoth / @_Balkoth_

12/03/2011 at 11:10PM

74
#12 - kcliu / @kcliutw

01/27/2012 at 03:37AM

74
#13 - Abdel Said / @abdelsaid

03/14/2012 at 01:33PM

74
#14 - Martin Aumueller / @aumuell

04/29/2012 at 09:48PM

75
#15 - Thom Hughes / @thom_hughes_1

06/03/2011 at 08:12AM

75
#16 - h_east (トロッコ6個) / @h_east

06/07/2011 at 04:06PM

75
#17 - Johan Sveholm / @rymdtjuren

06/23/2011 at 11:22PM

75
#18 - sidyll / @sidyll

07/11/2011 at 07:41PM

75
#19 - Philippe Mongeau / @phmongeau

11/29/2011 at 05:39AM

75
#20 - strager / @strager

12/12/2011 at 01:25AM

75
#21 - Tesnorth / @Tesnorth

01/31/2012 at 07:56PM

75
#22 - 無ん垢の叫び / @john_ababa

02/28/2012 at 02:51PM

76
#23 - Utkarsh Kukreti / @utkarshkukreti

06/04/2011 at 08:15PM

76
#24 - Neil / @spameldoon

08/21/2011 at 11:51AM

77
#25 - xhtmlforum / @xhtmlforum

06/01/2011 at 01:23PM

77
#26 - Márton Juhász / @juhasz

06/05/2011 at 12:21PM

77
#27 - Eivind Jahren / @HaskellElephant

06/07/2011 at 10:49PM

77
#28 - Zak van der Merwe / @zakkuuu

07/07/2011 at 08:55PM

78
#29 - Jasper Mondares / @JasperMondares

06/03/2011 at 07:54AM

78
#30 - Jacek Wysocki / @ex00

06/07/2011 at 08:57AM