diff --git a/src/keymap-manager.coffee b/src/keymap-manager.coffee index d1406a42a..16ba9cb4d 100644 --- a/src/keymap-manager.coffee +++ b/src/keymap-manager.coffee @@ -12,7 +12,9 @@ Gmail's "x", while allowing standard hotkeys.) mousetrap.prototype.stopCallback = (e, element, combo, sequence) -> withinTextInput = element.tagName == 'INPUT' || element.tagName == 'SELECT' || element.tagName == 'TEXTAREA' || element.isContentEditable if withinTextInput - return /(mod|command|ctrl)/.test(combo) is false + isPlainKey = /(mod|command|ctrl)/.test(combo) + isReservedTextEditingShortcut = /(mod|command|ctrl)\+(a|x|c|v)/.test(combo) + return isPlainKey || isReservedTextEditingShortcut return false class KeymapManager