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

67 active golfers, 184 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

70
#3 - Smylers / @Smylers2

02/21/2019 at 10:31PM

70
#4 - Peppa Pig / @PeppaPi95550250

07/03/2024 at 08:07AM

74
#5 - Tim Chase / @gumnos

06/01/2011 at 01:43PM

74
#6 - Mikael Gustavsson / @slvmnd

06/06/2011 at 02:11PM

74
#7 - Hugh Carroll / @psaikido

07/01/2011 at 10:49AM

74
#8 - Hu Junfeng / @junfeng

07/07/2011 at 10:56AM

74
#9 - Simon Scarfe / @simonscarfe

09/06/2011 at 12:16PM

74
#10 - Justin Love / @wondible

09/18/2011 at 10:32PM

74
#11 - Anders Janmyr / @andersjanmyr

10/05/2011 at 05:42AM

74
#12 - You-Siang Lin / @yslinnctu

11/29/2011 at 01:13AM

74
#13 - Balkoth / @_Balkoth_

12/03/2011 at 11:10PM

74
#14 - kcliu / @kcliutw

01/27/2012 at 03:37AM

74
#15 - Abdel Said / @abdelsaid

03/14/2012 at 01:33PM

74
#16 - Martin Aumueller / @aumuell

04/29/2012 at 09:48PM

75
#17 - Thom Hughes / @thom_hughes_1

06/03/2011 at 08:12AM

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

06/07/2011 at 04:06PM

75
#19 - Johan Sveholm / @rymdtjuren

06/23/2011 at 11:22PM

75
#20 - sidyll / @sidyll

07/11/2011 at 07:41PM

75
#21 - Philippe Mongeau / @phmongeau

11/29/2011 at 05:39AM

75
#22 - strager / @strager

12/12/2011 at 01:25AM

75
#23 - Tesnorth / @Tesnorth

01/31/2012 at 07:56PM

75
#24 - じょんあば / @john_ababa

02/28/2012 at 02:51PM

76
#25 - Utkarsh Kukreti / @utkarshkukreti

06/04/2011 at 08:15PM

76
#26 - Neil / @spameldoon

08/21/2011 at 11:51AM

77
#27 - xhtmlforum / @xhtmlforum

06/01/2011 at 01:23PM

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

06/05/2011 at 12:21PM

77
#29 - Eivind Jahren / @HaskellElephant

06/07/2011 at 10:49PM

77
#30 - Zak van der Merwe / @zakkuuu

07/07/2011 at 08:55PM