diff options
| author | Stephen Blott | 2016-10-01 06:42:06 +0100 |
|---|---|---|
| committer | GitHub | 2016-10-01 06:42:06 +0100 |
| commit | 53bc921af7d5ac96bc17754dcee5f2fe72ccde39 (patch) | |
| tree | decaeb66fe36d0bbab39ba72e8617da3dc1bf8c7 | |
| parent | 4fb3e8aa0d6b5ab0147761971e74baf3f02284af (diff) | |
| parent | fb876164338e865144402689b159e4edf35cf777 (diff) | |
| download | vimium-53bc921af7d5ac96bc17754dcee5f2fe72ccde39.tar.bz2 | |
Merge pull request #2283 from smblott-github/fix-find-mode-hangs
Find mode can hang Vimium (fixed).
| -rw-r--r-- | content_scripts/mode_find.coffee | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/content_scripts/mode_find.coffee b/content_scripts/mode_find.coffee index 4c146889..8621edf8 100644 --- a/content_scripts/mode_find.coffee +++ b/content_scripts/mode_find.coffee @@ -71,6 +71,10 @@ class FindMode extends Mode name: "find" indicator: false exitOnClick: true + exitOnEscape: true + # This prevents further Vimium commands launching before the find-mode HUD receives the focus. + # E.g. "/" followed quickly by "i" should not leave us in insert mode. + suppressAllKeyboardEvents: true HUD.showFindMode this |
