Overriding an existing keybinding


#1

I’m trying to override an existing keybinding, but it appears that the cascading keybindings don’t give priority to user-defined bindings? I want to map cmd-’ to window:focus-next-pane, so I’m using this:

'body':
    'cmd-\'':         'window:focus-next-pane'

That map, however is overridden by a more specific one from the Emmet package. How can I force the use of this one, without an unnecessary chain of selectors?


#2

I would add two directives, one that you already have and one that specifically overrides the Emmet key binding:

'whatever Emmet selector':
  "cmd-'": 'window:focus-next-pane'

#3

Feels a bit kludgy, but for the time being, it works! Thanks!