aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts/commands.coffee
diff options
context:
space:
mode:
authorTimo Sand2013-02-17 17:23:53 +0000
committerTimo Sand2013-02-17 17:23:53 +0000
commitb406848c2b0605b0765ef12b1469e20e47080a64 (patch)
tree8cf5789179a80fc36f8fd77439521230a9423eb8 /background_scripts/commands.coffee
parentc781ce942e225c9bc9f172cea54e0e7de6e4bcd0 (diff)
downloadvimium-b406848c2b0605b0765ef12b1469e20e47080a64.tar.bz2
Added functionality to "float" current tab ie. open in new window
Diffstat (limited to 'background_scripts/commands.coffee')
-rw-r--r--background_scripts/commands.coffee4
1 files changed, 3 insertions, 1 deletions
diff --git a/background_scripts/commands.coffee b/background_scripts/commands.coffee
index d7c332f9..92d2a40d 100644
--- a/background_scripts/commands.coffee
+++ b/background_scripts/commands.coffee
@@ -98,7 +98,7 @@ Commands =
historyNavigation:
["goBack", "goForward"]
tabManipulation:
- ["nextTab", "previousTab", "firstTab", "lastTab", "createTab", "removeTab", "restoreTab"]
+ ["nextTab", "previousTab", "firstTab", "lastTab", "createTab", "openTabInNewWindow", "removeTab", "restoreTab"]
misc:
["showHelp"]
@@ -160,6 +160,7 @@ defaultKeyMappings =
"g0": "firstTab"
"g$": "lastTab"
+ "w": "openTabInNewWindow"
"t": "createTab"
"x": "removeTab"
"X": "restoreTab"
@@ -232,6 +233,7 @@ commandDescriptions =
firstTab: ["Go to the first tab", { background: true }]
lastTab: ["Go to the last tab", { background: true }]
createTab: ["Create new tab", { background: true }]
+ openTabInNewWindow: ["Open tab in new window", { background: true }]
removeTab: ["Close current tab", { background: true }]
restoreTab: ["Restore closed tab", { background: true }]