[Vimoutliner] Obvious but don't get it: how do I move outline at N+1 to N

Peter Princz princzp at gmail.com
Sun Sep 3 09:47:17 EDT 2006


Gary,

On 03/09/06, GARY FURASH <furashg at alumni.bowdoin.edu> wrote:
> When I yank or delete a collapsed outline at level N (e.g., 5), and then
> move it elsewhere with a paste, I end up with that outline pasted at level
> N, not the current cursor position (e.g., I might want to make it a child of
> say a level 2 outline, so it should now be 3.).  Is there a better/easier
> way to do this?
>
>

I'm still afraid of the hoisting feature of vimoutliner, as it
corrupted/messed up my file once.
So I have a "hoisting/indent manipulation sandbox" within my outline
file, actually at the very end of it. It's really simple, looks like
this:

"...
Hoisting and indent manipulation
	// === Hoisting start ===
	// === Hoisting end ===
..."

Now, when I want to cut&paste a subtree, I simply don't paste it
straight into its destination, but to the above mentioned place first.
As another poster pointed out, it's very easy to change the
indentation level of it with a few keystrokes. And then I move it to
its destination in the second, final step.
Speed is not an issue: G takes me to the tail of the file, and a
previously dropped bookmark to the destination place.
Indent/outdent level calculation is easy if fdc is set to something
nonzero, I personally prefer 4. Then you can see the indent level
always.
Let me know if this explanation needs any further elaboration.

Have a nice day,
  Peter

-- 
Keep cool. Develop in total darkness.


More information about the VimOutliner mailing list