On Thu, 19 Dec 2013 15:50:46 -0800 (PST)
Fidel N <[email protected]> wrote:

> A
>   B
> C
>   D
>   E
> 
> If you want to move D and E to children of A, you can move D up, then C 
> will close, so you have to open it and then move E, but if have more 
> children of C that you want to move up, it will keep closing, you will have 
> to keep "fighting" aganist Leo and open each time you move one up.

Hmm, so the quickmove.py plugin adds buttons which copy/move/clone the
current node to the node that was active when you created the button.

So you'd select A, use the quickmove context menu to create a 'Move to
last child' button, then select D, click the button, D moves to the
last child of A, *selection moves to E*, so you just click the button
again, and E moves to the last child of A, done.

This could be made keyboard friendly - as well as the button behavior,
you could have bindings to designate a particular (current at the
time of designation) node as a target, and a binding to move/copy/clone
the current node there.

There are actually 10 modes of operation, move/copy/clone/bookmark/link
to first/last child of target.  Link in the sense of the backlinks.py
plugin, and bookmark in the sense of the bookmarks.py plugin.

As well as providing bindable shortcuts for those, a bindable shortcut
for a popup, cursor key driven menu, might be appropriate, seeing one
binding gets you ten actions then.

So for the above example:

quickmove_select_action bound the Ctrl-M
quickmove_take_action bound to Ctrl-\

You select A, Ctrl-M select 'Move to last child', select D, Ctrl-\
Ctrl-\ and you're done.

I'll have a look at adding that to quickmove.py

I think there was a Tk plugin that worked that way, back in the day.

Cheers -Terry

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to