aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts
diff options
context:
space:
mode:
authorStephen Blott2015-06-04 13:37:40 +0100
committerStephen Blott2015-06-04 13:37:40 +0100
commitb356e50677e1ae7ba68e27b1b70e59744e129627 (patch)
treec1f393f5473b6d437c7882a49c22b7781dae547f /content_scripts
parent8b8cc319cc02521a11e766e0d059a6fa53e5f4ae (diff)
downloadvimium-b356e50677e1ae7ba68e27b1b70e59744e129627.tar.bz2
Exit marks modes on escape.
Diffstat (limited to 'content_scripts')
-rw-r--r--content_scripts/marks.coffee2
1 files changed, 2 insertions, 0 deletions
diff --git a/content_scripts/marks.coffee b/content_scripts/marks.coffee
index 971feadf..fc30849a 100644
--- a/content_scripts/marks.coffee
+++ b/content_scripts/marks.coffee
@@ -25,6 +25,7 @@ Marks =
@mode = new Mode
name: "create-mark"
indicator: "Create mark..."
+ exitOnEscape: true
suppressAllKeyboardEvents: true
keypress: (event) =>
keyChar = String.fromCharCode event.charCode
@@ -52,6 +53,7 @@ Marks =
@mode = new Mode
name: "goto-mark"
indicator: "Go to mark..."
+ exitOnEscape: true
suppressAllKeyboardEvents: true
keypress: (event) =>
@exit =>