aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts/link_hints.coffee
diff options
context:
space:
mode:
authorStephen Blott2015-01-12 09:28:32 +0000
committerStephen Blott2015-01-12 09:28:32 +0000
commitee17e7365b84d0c59ce3bcf50c517a7408b372b3 (patch)
tree89ec12ee244dd45434998537f84658ad87f68ad1 /content_scripts/link_hints.coffee
parent0dbc181e577d0699fd25fd5f5f39e2ffb35a4f07 (diff)
downloadvimium-ee17e7365b84d0c59ce3bcf50c517a7408b372b3.tar.bz2
Modes; (slightly) nicer badge.
Diffstat (limited to 'content_scripts/link_hints.coffee')
-rw-r--r--content_scripts/link_hints.coffee4
1 files changed, 2 insertions, 2 deletions
diff --git a/content_scripts/link_hints.coffee b/content_scripts/link_hints.coffee
index 6738c499..909f50b4 100644
--- a/content_scripts/link_hints.coffee
+++ b/content_scripts/link_hints.coffee
@@ -11,7 +11,7 @@
# The "name" property here is a short-form name to appear in the link-hints mode name. Debugging only. The
# key appears in the mode's badge.
# NOTE(smblott) The use of keys in badges is experimental. It may prove too noisy.
-OPEN_IN_CURRENT_TAB = { name: "curr-tab", key: "C" }
+OPEN_IN_CURRENT_TAB = { name: "curr-tab", key: "" }
OPEN_IN_NEW_BG_TAB = { name: "bg-tab", key: "B" }
OPEN_IN_NEW_FG_TAB = { name: "fg-tab", key: "F" }
OPEN_WITH_QUEUE = { name: "queue", key: "Q" }
@@ -70,7 +70,7 @@ LinkHints =
constructor: ->
super
name: "hint/#{mode.name}"
- badge: "?#{mode.key}"
+ badge: "#{mode.key}?"
exitOnEscape: true
keydown: (event) -> LinkHints.onKeyDownInMode hintMarkers, event
# trap all key events