aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--content_scripts/mode_find.coffee4
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