-
Notifications
You must be signed in to change notification settings - Fork 57
More specific selector doesn't override less specific #138
Comments
I've got another way of simulating this: using proto-repl, it'll create an Ink Console when I toggle the plugin. I posted about it in this discussion: https://discuss.atom.io/t/why-do-user-key-bindings-not-take-priority/11740/7?u=mauricioszabo Steps to reproduce
I've tried two ways of unsetting the pageup:
None of the above worked - pageup keeps being captured by The strange thing is that if I try to bind to any other thing, other than "unset", it works. /cc @lee-dohm |
Other strange thing: one of my keybindings (in the editor) is The following bindings didn't override its defaults:
Now, this is some serious issue - I can't have to sometimes understand my keybindings, and sometimes, not, specially if one of them causes all my open Atom instances to quit. I don't even understand why there's a keybinding for "quit all open atom windows in all namespaces and all projects" in the first place... |
Ctrl+Q, at least for me, doesn't exist on Windows - what OS are you using? |
Arch Linux, but the same happens on Ubuntu 14.10 and 16 |
Can you try not unsetting it, like in the following example? I tried it out with ctrl-w which seems to be working. 'body':
'ctrl-q': 'tree-view:toggle' |
I did a little debugging on this, and found out I was separating keybindings on some sections - all Clojure files should use these keybindings, all ruby, these other, etc. I found out I had two |
I have following code in my keymap:
The Keybindings settings:
I would expect my User selector should override the less specific Core selector when editing HTML, however the Core keystroke is used when pressing
Ctrl-/
.BTW: When I change my selector to be exactly same as Core, it works well. But I want to use the
emmet:toggle-comment
command only for HTML.The text was updated successfully, but these errors were encountered: