diff options
| author | Phil Crosby | 2014-08-17 11:13:55 -0700 |
|---|---|---|
| committer | Phil Crosby | 2014-08-17 11:13:55 -0700 |
| commit | 64d4ecbf1985afa4fd9d6adec10d66b51f1f4d7f (patch) | |
| tree | 66e4d2fa70a3fb92971f356b8f75c23fd77d546c /background_scripts/commands.coffee | |
| parent | 328ebe9f0c49f0d48cff07280ee7bd8da21d3476 (diff) | |
| parent | 13abeaebdf0bb8c5508e454ecd76275a138f5f92 (diff) | |
| download | vimium-64d4ecbf1985afa4fd9d6adec10d66b51f1f4d7f.tar.bz2 | |
Merge pull request #1129 from mrmr1993/closeOtherTabs
Add closeTabsToLeft, closeTabsToRight and closeOtherTabs commands
Diffstat (limited to 'background_scripts/commands.coffee')
| -rw-r--r-- | background_scripts/commands.coffee | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/background_scripts/commands.coffee b/background_scripts/commands.coffee index 35c94bb9..b9586888 100644 --- a/background_scripts/commands.coffee +++ b/background_scripts/commands.coffee @@ -100,7 +100,8 @@ Commands = ["goBack", "goForward"] tabManipulation: ["nextTab", "previousTab", "firstTab", "lastTab", "createTab", "duplicateTab", "removeTab", - "restoreTab", "moveTabToNewWindow", "togglePinTab", "moveTabLeft", "moveTabRight"] + "restoreTab", "moveTabToNewWindow", "togglePinTab", "closeTabsToLeft","closeTabsToRight", + "closeOtherTabs", "moveTabLeft", "moveTabRight"] misc: ["showHelp"] @@ -253,6 +254,10 @@ commandDescriptions = moveTabToNewWindow: ["Move tab to new window", { background: true }] togglePinTab: ["Pin/unpin current tab", { background: true }] + closeTabsToLeft: ["Close tabs to the left", {background: true, noRepeat: true}] + closeTabsToRight: ["Close tabs to the right", {background: true, noRepeat: true}] + closeOtherTabs: ["Close other tabs", {background: true, noRepeat: true}] + moveTabLeft: ["Move tab to the left", { background: true, passCountToFunction: true }] moveTabRight: ["Move tab to the right", { background: true, passCountToFunction: true }] |
