Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

new tree-specific binding losing old setting?

30 views
Skip to first unread message

jkn

unread,
Jan 10, 2025, 4:20:12 AMJan 10
to leo-editor
Hi all - simple question about key bindings

If I add a key binding, with with the "shriek" notation to confine this binding to (say) the tree only...

some-command ! tree SomeKey

then it appears that any previous bindings to SomeKey, eg in the other 'modes' (body...) are lost. I have to reinstate this via

prev-command ! body SomeKey

is this behaviour intentional?

Thanks, Jon N

Edward K. Ream

unread,
Jan 10, 2025, 5:12:30 AMJan 10
to leo-e...@googlegroups.com
The intention, if there was an intention, happened 10+ years ago. Please do what works :-)

Edward

jkn

unread,
Jan 10, 2025, 7:22:00 AMJan 10
to leo-editor
Hi Edward
    heh, I thought you might say that - just checking.

I will investigate behaviour and the code a little more. I am not 100% convinced about what I am seeing.

    Thanks, J

jkn

unread,
Jan 13, 2025, 11:06:57 AMJan 13
to leo-editor
Hmm - I think it is more subtle/annoying that I suggested above ... it looks like sometimes my @shortcut nodes in myLeosettings.leo are not being processed, or are not working properly. Command 'show_bindings' seems to give different results on different occasions ;-(.

I will keep investigating...

    J
Reply all
Reply to author
Forward
0 new messages