Hi,
I'm working on writing a plugin to bring
aoeui key bindings to Light Table. aoeui uses a lot of ^Space modifiers, so I need to remap show/hide command bar to something else -- I've chosen ^Space^Enter.
I was able to disable ^Space from the editor and replace it with ^Space^Enter by adding this to the keymap:
[:editor "ctrl-space"]
[:editor "ctrl-space-enter" :show-commandbar-transient]
However, ^Space still closes the sidebar once it's open. I'd like to replace it with ^Space^Enter for consistency. This doesn't seem to have any effect:
[:sidebar.command "ctrl-space"]
[:sidebar.command "ctrl-space-enter" :close-sidebar]
^Space is not disabled like I expected.
Interestingly, I was able to disable ^Space globally by adding [:app "ctrl-space"] to the keymap, but then I couldn't seem to add any key bindings to the command bar. Which makes me wonder if :sidebar.command might not actually correspond to the command bar? It's also possible that :close-sidebar isn't the command I want, but I'm not seeing any other way to close the command bar.
Is there something that I'm missing?
Thanks,
Dave