Thanks (once again) for the patch!
Here are a few ideas:
It would be nice to end paragraph line before the match for some
patterns. For example if you have
lorem ipsum lorem ipsum
lorem ipsum lorem ipsum
lorem ipsum lorem ipsum
\section{New Aproach}
adding ¶='/\\section' and using d} will delete one line to
much. But this should be only for some patters hence this will
require that ¶ is a list of patterns with some kind of
modifiers, or one would have to make support for multiline patterns.
Using something like ¶='/\n\s*\\section' is not working with the
patch.
With the patch and ¶='/^\zs\s*$' and the following text:
lorem ipsum lorem ipsum
lorem ipsum lorem ipsum
lorem ipsum lorem ipsum
lorem ipsum lorem ipsum
}, and { stop on the first met empty line, i.e. } will stop on the
top one, and { on the bottom one. But I think this is not a big
deal, though it is inconsistent with the nroff setting. Again
recognising multiple line patterns would help. Something like:
let ¶='/^\_s*$'
A solution: after matching the line against the ¶ pattern and moving
the cursor to that line use something like:
:call search(¶, 'bc')
Z wyrazami szacunku :)
Marcin
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.