Open marius311 opened 5 years ago
Here is my functioning Ubuntu Pop!_OS configuration:
keymaps: {
"tab:next": "ctrl+pagedown",
"tab:prev": "ctrl+pageup",
"pane:next": "ctrl+tab",
"pane:prev": "ctrl+shift+tab"
},
I suspect something else is using those keys and blocking it.
Thanks, yea that's what I suspect as well, but any idea how to figure out what's stealing it? Like I mentioned, I have Ctrl+PgUp/Down bound successfully in other (even electron) apps.
More info: I've found that the following is printed on the developer console when I press Ctrl+PgUp/Down:
ignoring move for single group #bundle.js:1
This happens whether or not I've tried to bind Ctrl+PgUp/Down to anything.
Ah ok, I see what's happening, the problem was that even though I had tab:prev/next: ctrl+pageup/down
, the default for for switching panes is pane:prev/next: ctrl+pageup/down
and for some reason this was winning out. I had to additionally change pane:prev/next
to something else, then it worked.
This seems like a bug, since I would think nothing should override my custom keybindings like that, and also because it seems specific to ctrl+pageup/down
(e.g. if I change next tab to ctrl+,
then ctrl+,
correctly triggers next tab, rather than the default of bringing up settings), so I'll leave this open.
Issue
I've got the following in my keymap:
but the keys aren't working (nothing happens when I hit the key). If I change the keymap to instead e.g. "ctrl+shift+pageup" then that does work. Just "ctrl+pageup" works in other apps on my system, e.g. Atom or Chrome for switching tabs, so I don't think its being captured by the system somehow. Thanks for any advice!