Unbinding Keys

101 views
Skip to first unread message

k-hen

unread,
Aug 17, 2020, 5:31:33 PM8/17/20
to leo-editor
Hi,
and it's marked as closed, but for some reason the keys aren't unbinding.
My other shortcut assignments are working.

e.g.
myLeoSettings/at-settings/at-keys/at-shortcuts

new = None
toggle-active-pane = None

Am I doing something wrong?

Thanks,
Kevin





k-hen

unread,
Aug 21, 2020, 10:40:45 AM8/21/20
to leo-editor
Not to pester, but some of my shortcut keys still aren't working and having them could save me a tremendous amount if time.
If there's anything you could point me to, I'd really appreciate it :-)

Edward K. Ream

unread,
Aug 21, 2020, 12:54:11 PM8/21/20
to leo-editor
On Fri, Aug 21, 2020 at 9:40 AM k-hen <percepti...@gmail.com> wrote:
Not to pester, but some of my shortcut keys still aren't working and having them could save me a tremendous amount if time.
If there's anything you could point me to, I'd really appreciate it :-)

Please send me your myLeoSettings.leo file.

Edward

k-hen

unread,
Aug 21, 2020, 8:42:16 PM8/21/20
to leo-editor
It's very boring so far, just getting started :-)

The biggest helper for now are the paste-node and paste-node-as-clone which don't seem to be working for me,
and Ctrl+n doesn't seem to unbind either, i.e. after setting to None.

I've check-bindings and they seem like they're free.

The others seem to work fine though.
For now these are all globally scope but I could see wanting to be more granular.

Thanks very much for your help.

Kevin


myLeoSettings_kgh_20200821.leo

Thomas Passin

unread,
Aug 21, 2020, 10:32:10 PM8/21/20
to leo-editor
My keyboard, which is fairly new, doesn't emit <CTRL-SHIFT-C>, which is very annoying.  I have to use the menu to get the command.  Maybe you have a keyboard issue?

k-hen

unread,
Aug 22, 2020, 8:13:36 AM8/22/20
to leo-editor
Hmm ... I suppose that's always a possibility, but I'm pretty sure it works in other applications.
Incidentally, it's not working on Linux or Windows.
I've checked the linux os keyboard shortcuts and nothing appears to be grabbing it.
If I manually right-click and copy the node then Ctrl+Shift+v isn't working for paste either.
The other Ctrl+Shift bindings are also ok, so it isn't just that combo.

Is there a perhaps a debug logging mode for Leo which can output the functions it's executing?

k-hen

unread,
Aug 22, 2020, 8:51:57 AM8/22/20
to leo-editor
To confirm, I just tried these (Ctrl+Shift+C & Ctrl+Shift+V) in another app and they work fine,
so it would seem to be something with Leo.

Incidentally, I did figure out the unbinding part, i.e. by setting  'do-nothing = Ctrl+n' .
(and yes, I know, this one's right in the doc)

The other bindings are what I'm really looking for though.

Thomas Passin

unread,
Aug 22, 2020, 9:20:16 AM8/22/20
to leo-editor
I've read some posts that people have been having unresponsive key troubles with various Logitech keyboards (mine is a Logitech wireless), but not always the same key(s).

k-hen

unread,
Aug 22, 2020, 9:27:50 AM8/22/20
to leo-editor
So ... I'm very sorry wasting people's time, these facts are all true, and it definitely wasn't working,
but now after trying different things it does appear to (except paste as clone for some reason),
but I'll keep digging. I wish I could definitively say which thing it was, but if/when I figure it out,
I'll be sure to let people know.

I see the Leo --trace=events & --trace-binding options and it's helping me out.

Thanks again,
Kevin

Edward K. Ream

unread,
Aug 22, 2020, 10:33:07 AM8/22/20
to leo-editor


On Sat, Aug 22, 2020 at 8:27 AM k-hen <percepti...@gmail.com> wrote:

You're not wasting anyone's time. Perhaps Leo is wasting your time.

I see the Leo --trace=events & --trace-binding options and it's helping me out.

Good. That gets you close to the ground truth.

Edward

Edward K. Ream

unread,
Aug 22, 2020, 11:30:27 AM8/22/20
to leo-editor
On Saturday, August 22, 2020 at 7:51:57 AM UTC-5, k-hen wrote:

To confirm, I just tried these (Ctrl+Shift+C & Ctrl+Shift+V) in another app and they work fine,
so it would seem to be something with Leo.

I just took a look at your copy of myLeoSettings.leo.  All bindings and unbindings work as specified, including shift-ctrl-c and shift-ctrl-v.

To verify that unbindings took effect, I used the minibuffer.  For example, <alt-x>toggle-ac<tab> shows just `toggle-active-pane`, without any key bindings.

Did you say what keyboard you use?

Edward

percepti...@gmail.com

unread,
Aug 22, 2020, 1:13:57 PM8/22/20
to leo-e...@googlegroups.com

I've managed to get the keys working now, that's a good trick using the minibuffer & completions window for that,
it beats using the show-bindings & copy/pasting into another window - thank you :-)
--
You received this message because you are subscribed to a topic in the Google Groups "leo-editor" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/leo-editor/vA5k0hVdXvQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to leo-editor+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/2d3c421c-3f87-4576-93dd-bbbcb26f90f4o%40googlegroups.com.

Thomas Passin

unread,
Aug 22, 2020, 1:34:06 PM8/22/20
to leo-editor
Would you please explain what you did that got the unbindings to work?  It might help other people.


On Saturday, August 22, 2020 at 1:13:57 PM UTC-4, k-hen wrote:

I've managed to get the keys working now, that's a good trick using the minibuffer & completions window for that,
it beats using the show-bindings & copy/pasting into another window - thank you :-)





On Sat, 2020-08-22 at 08:30 -0700, Edward K. Ream wrote:
On Saturday, August 22, 2020 at 7:51:57 AM UTC-5, k-hen wrote:

To confirm, I just tried these (Ctrl+Shift+C & Ctrl+Shift+V) in another app and they work fine,
so it would seem to be something with Leo.


I just took a look at your copy of myLeoSettings.leo.  All bindings and unbindings work as specified, including shift-ctrl-c and shift-ctrl-v.

To verify that unbindings took effect, I used the minibuffer.  For example, <alt-x>toggle-ac<tab> shows just `toggle-active-pane`, without any key bindings.

Did you say what keyboard you use?

Edward
--
You received this message because you are subscribed to a topic in the Google Groups "leo-editor" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/leo-editor/vA5k0hVdXvQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to leo-e...@googlegroups.com.

Edward K. Ream

unread,
Aug 22, 2020, 5:12:34 PM8/22/20
to leo-editor


On Sat, Aug 22, 2020 at 12:13 PM <percepti...@gmail.com> wrote:

...that's a good trick using the minibuffer & completions window for that,
it beats using the show-bindings & copy/pasting into another window - thank you :-)

You're welcome.

Edward
Reply all
Reply to author
Forward
0 new messages