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):
78
#31 - Jasper Mondares / @JasperMondares

06/03/2011 at 07:54AM

78
#32 - Jacek Wysocki / @ex00

06/07/2011 at 08:57AM

78
#33 - brad phelan / @bradgonesurfing

06/20/2011 at 12:46PM

78
#34 - Chaiporn Jaikaeo / @cjaikaeo

11/28/2011 at 01:10AM

78
#35 - cj / @cj01101

11/21/2013 at 04:13AM

79
#36 - Emile Swarts / @EmileSwarts

06/07/2011 at 05:25PM

79
#37 - icdark / @icdark

06/11/2011 at 01:16PM

79
#38 - Peter Anselmo / @peter_anselmo

06/23/2011 at 05:03PM

79
#39 - @AndrewRadev@hachyderm.io / @andrewradev

06/25/2011 at 06:52PM

79
#40 - Vasil Sakarov / @vsakarov

12/31/2011 at 10:25AM

79
#41 - Forrest L Norvell / @othiym23

01/29/2012 at 04:53AM

79
#42 - Eric Weikl / @ericweikl

05/19/2012 at 04:44PM

79
#43 - vimgolfer / @vimgolfer7

10/06/2019 at 04:43AM

79
#44 - Jakob Weickmann / @jweickm

02/16/2022 at 12:03AM

80
#45 - perfectworks / @perfectworks

10/17/2011 at 06:40AM

80
#46 - learninghang / @learninghang

04/14/2012 at 10:14AM

80
#47 - Ben Alpert / @soprano

07/17/2012 at 09:47AM

81
#48 - James Cash / @jamesnvc

06/01/2011 at 01:48PM

81
#49 - Lauri Tirkkonen / @lotheac

07/01/2011 at 07:42PM

81
#50 - Patrick Lacasse / @patrick_lacasse

07/27/2011 at 07:58PM

81
#51 - Sergi Sorribas / @lerovitch

08/26/2011 at 12:58PM

81
#52 - Dühöngő / @aswna

09/07/2011 at 05:06PM

81
#53 - Golf Sinteppadon / @minigolf2000

04/27/2012 at 08:31PM

81
#54 - ise0615 / @ise0615

05/05/2012 at 11:30AM

81
#55 - Oliver Christ / @0liverChrist

05/23/2015 at 07:56PM

82
#56 - shahanavaz m / @shahanavazm

03/14/2024 at 04:22PM

83
#57 - dtennant / @dtennant

06/01/2011 at 07:45PM

83
#58 - Robert McBride / @MrException

06/16/2011 at 08:10PM

83
#59 - steve / @steve35773420

03/04/2023 at 03:34PM

84
#60 - Wim Looman / @Nemo157

06/06/2011 at 11:24AM