Thursday, November 26, 2009

Re: A quick way to get abstract from a very _long_ article?

a quick reply as below:

On Thu, Nov 26, 2009 at 9:11 PM, Tim Chase <vim@tim.thechases.com> wrote:

2) You meant "I wanted to copy 'Lesson' down as well, but forgot
to mention that in my original post about copying Abstracts" :)
That's a bit more complex, but not too bad.  My first thought
(untested) would be something like changing my

 :g/^Lesson \d\+//^Abstract/;/^-\@!/t$
to
 :g/^Lesson \d\+/ka|t$|'a/^Abstract/;/^-\@!/t$


=> it works!!
 

-tim (the early-morning prolix pedagogue)


I love you, man!!

--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment