diff options
| author | Stephen Blott | 2016-01-31 08:50:27 +0000 | 
|---|---|---|
| committer | Stephen Blott | 2016-01-31 08:50:27 +0000 | 
| commit | c2e55bdcbaabb6dccf76feafed023960c60b1854 (patch) | |
| tree | 5634d601a820fbe7548b4b89b209cfd992ad8bc1 | |
| parent | 334e9d7c4723b71706c4e3def3fd996bf7dff6f6 (diff) | |
| parent | ec6a4115a420a66c114381c034e50cd0be10ab3d (diff) | |
| download | vimium-c2e55bdcbaabb6dccf76feafed023960c60b1854.tar.bz2 | |
Merge pull request #1908 from smblott-github/fix-ctrl-escape
For Ctrl-[, also require NOT Alt
| -rw-r--r-- | lib/keyboard_utils.coffee | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/lib/keyboard_utils.coffee b/lib/keyboard_utils.coffee index 5c95680c..f123f75a 100644 --- a/lib/keyboard_utils.coffee +++ b/lib/keyboard_utils.coffee @@ -53,7 +53,7 @@ KeyboardUtils =    isEscape: (event) ->      # c-[ is mapped to ESC in Vim by default. -    (event.keyCode == @keyCodes.ESC) || (event.ctrlKey && @getKeyChar(event) == '[') +    (event.keyCode == @keyCodes.ESC) || (event.ctrlKey && @getKeyChar(event) == '[' and not event.metaKey)    # TODO. This is probably a poor way of detecting printable characters.  However, it shouldn't incorrectly    # identify any of chrome's own keyboard shortcuts as printable. | 
