Support launching url in a new tab (#46)

This commit is contained in:
Maxim Baz
2019-03-19 21:48:56 +01:00
committed by GitHub
parent c3cd5f77df
commit 22a33a81bd
4 changed files with 28 additions and 9 deletions

View File

@@ -355,7 +355,9 @@ function keyHandler(e) {
}
break;
case "KeyG":
this.doAction("launch");
if (e.ctrlKey) {
this.doAction(e.shiftKey ? "launchInNewTab" : "launch");
}
break;
}
}