[Vimoutliner] What is "Mark and Gather" as it relates to outlines?
Peter Princz
princzp at gmail.com
Wed Jun 28 06:02:50 EDT 2006
Sam (and all),
On 28/06/06, Samuel Wright <lykoszine at gmail.com> wrote:
> > Marking allows you to mark arbitrary elements (that is, headings) in the
> > outline. They need not be contiguous, at the same level, etc.
> > Gather allows you to gather all these together in one place. Grandview
> > offers various options: move them all below the current headline at the
> > same level, move them all as subheads of the current headline, copy
> > them, clone them (I think).
>
> Hi Guys,
>
> How is this implemented in vo? I can't see anything related to it in
> the vo vim help.
>
> Cheers,
> Sam
I'm not sure about the vo documentation, but for the most intuitive way is:
- open >1 windows in vim with :split
- close the other (bottom) instance with ,,1 and G to the bottom of my
outline file, where there is a piece:
"...
Hoisting and indent manipulation
// === Hoisting start ===
// === Hoisting end ===
..."
- open this sandbox and dd the desired lines manually from the top
window and yank into the bottom one
- maintain their indentation one-by-one
So in short, here I fall back to good-old vi features, and am happy with it.
I don't need anything specific from vo.
(Sorry to say, but the same issue compared Norton Commander with MS
Explorer: you have only one window instead of the two predefined
panes, but you can start arbitrary number of them. So what seems to be
a constraint for the first sight, is actually more flexible... :o)
Have a nice day,
Peter
--
Keep cool. Develop in total darkness.
More information about the VimOutliner
mailing list