Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Allow ctrl+enter to open a suggestion in a new tab

It's pretty natural to hit CTRL+N and CTLR+P to select a choice, and then CTRL+enter to open it in a new tab.
But previously that didn't work on mac.
  • Loading branch information...
commit 85bffd2dd8ef75b7c50d6851350490aea4c184cd 1 parent 32e506d
@philc authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  content_scripts/vomnibar.coffee
View
3  content_scripts/vomnibar.coffee
@@ -94,7 +94,8 @@ class VomnibarUI
action = @actionFromKeyEvent(event)
return true unless action # pass through
- openInNewTab = @forceNewTab || (event.shiftKey || KeyboardUtils.isPrimaryModifierKey(event))
+ openInNewTab = @forceNewTab ||
+ (event.shiftKey || event.ctrlKey || KeyboardUtils.isPrimaryModifierKey(event))
if (action == "dismiss")
@hide()
else if (action == "up")
Please sign in to comment.
Something went wrong with that request. Please try again.