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 61 remaining solutions by signing in and submitting your own entry
#62 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

62 active golfers, 173 entries

Leaderboard (lowest score wins):
96
#61 - Mislav Marohnić / @mislav

11/29/2011 at 02:55AM

98
#62 - Torben Rasmussen / @rasmustorben

08/15/2011 at 05:14PM