Re: Help needed: Set key to toggle between previous node

2018-04-08 Thread Edward K. Ream
On Sun, Apr 8, 2018 at 11:18 AM, drmikecrowe  wrote:

> Rather than Ctrl-Tab swapping between leo files, I want it to toggle
> between the last node.  I'm setting this in my config, but this doesn't
> seem to work.  What should it be?
>

​The goto-prev-node command does not depend on history.  It goes to the
previous node in full outline order, that is, p.threadBack().

What you want is what the prev/next arrow buttons are bound to.  The
nav_qt.py plugin binds these to  c.goToPrevHistory() and
c.goToNextHistory().  A search on these methods shows that the commands you
want are goto-next-history-node and goto-prev-history-node.

HTH.

Edward

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Help needed: Set key to toggle between previous node

2018-04-08 Thread drmikecrowe
Rather than Ctrl-Tab swapping between leo files, I want it to toggle 
between the last node.  I'm setting this in my config, but this doesn't 
seem to work.  What should it be?


@keys
tab-cycle-next  = None
goto-prev-node  = Ctrl-Tab

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.