Leo Gallucci 5 years ago 0

How can i write a keymap to re-use CTRL+SHIFT+M resolving ambiguity depending on the scope?

Instead of having these 2 shortcuts:

CTRL+SHIFT+M for Expand Selection to Brackets

CTRL+SHIFT+A for Expand Selection to Tag

I just want to have 1 shortcut that do one thing or the other depending on whether the scope is text.html.basic or any other