aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts/commands.coffee
diff options
context:
space:
mode:
authorTimo Sand2013-02-16 21:45:25 +0000
committerTimo Sand2013-02-16 21:45:25 +0000
commit6d931314a9cd20a3583da291f1466e3845c6b29f (patch)
tree06eb571ae65e2dc2a5aeeb3c727dd1c76a45e7a7 /background_scripts/commands.coffee
parentf88ccb3390b9efff6512e5c0e7d2235ba8b859ed (diff)
downloadvimium-6d931314a9cd20a3583da291f1466e3845c6b29f.tar.bz2
Added commands for duplicate tab
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..c6a3a770 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", "duplicateTab", "removeTab", "restoreTab"]
misc:
["showHelp"]
@@ -161,6 +161,7 @@ defaultKeyMappings =
"g$": "lastTab"
"t": "createTab"
+ "yt": "duplicateTab"
"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 }]
+ duplicateTab: ["Duplicate current tab", { background: true }]
removeTab: ["Close current tab", { background: true }]
restoreTab: ["Restore closed tab", { background: true }]