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 by @jamesnvc:

Unlock 1 remaining solutions by signing in and submitting your own entry
Created by: @chadoh

67 active golfers, 184 entries

Solutions by @jamesnvc:
81
#48 - James Cash / @jamesnvc

06/01/2011 at 01:48PM