mousetrap icon indicating copy to clipboard operation
mousetrap copied to clipboard

Option for exact modifier key matches

Open Adjective-Object opened this issue 5 years ago • 0 comments

In our application we're using multiple mousetraps on different elements for context-sensitive keybindings, and are having issues with keyboard shortcut collisions between the mousetraps.

e.g. ctl+shift+k in the global scope collides with ctrl+k in the child scope.

It'd be nice if there were an option for exact modifier key matching (on alt, ctrl, meta, & shift) when binding a key.

I'd be happy to write it up & open the PR it if there's interest.

Adjective-Object avatar Dec 13 '18 23:12 Adjective-Object