aboutsummaryrefslogtreecommitdiffstats
path: root/pages
diff options
context:
space:
mode:
authorStephen Blott2017-04-11 15:44:42 +0100
committerStephen Blott2017-04-18 05:50:10 +0100
commit44555e7863a66b906c47f0c94507d9e055922d3e (patch)
treeaafff85ca787b8c5d068cad7e2b063c40ddd7e06 /pages
parent8058a54fd5a6a2f0e1a62a3a66f837a07045396e (diff)
downloadvimium-44555e7863a66b906c47f0c94507d9e055922d3e.tar.bz2
Move keyboard utils to keydown and migrate normal/visual modes.
Diffstat (limited to 'pages')
-rw-r--r--pages/vomnibar.coffee3
1 files changed, 1 insertions, 2 deletions
diff --git a/pages/vomnibar.coffee b/pages/vomnibar.coffee
index 95ef8151..43db90c9 100644
--- a/pages/vomnibar.coffee
+++ b/pages/vomnibar.coffee
@@ -125,8 +125,7 @@ class VomnibarUI
@lastAction = action = @actionFromKeyEvent event
return true unless action # pass through
- openInNewTab = @forceNewTab ||
- (event.shiftKey || event.ctrlKey || event.altKey || KeyboardUtils.isPrimaryModifierKey(event))
+ openInNewTab = @forceNewTab || event.shiftKey || event.ctrlKey || event.altKey || event.metaKey
if (action == "dismiss")
@hide()
else if action in [ "tab", "down" ]