diff options
| author | Phil Crosby | 2014-08-17 11:19:37 -0700 |
|---|---|---|
| committer | Phil Crosby | 2014-08-17 11:19:37 -0700 |
| commit | 142b2afe59ab822550d90e7147152d2b0a44ef51 (patch) | |
| tree | 54caeeeb9813b6e7c291bd43d6a5f0127f25f9ad | |
| parent | 081c4946a301a32438ce18e4af6da01b3150057d (diff) | |
| download | vimium-142b2afe59ab822550d90e7147152d2b0a44ef51.tar.bz2 | |
Tweak the move tabs command name
I think this is at little more readable, at least in the code
| -rw-r--r-- | background_scripts/commands.coffee | 8 | ||||
| -rw-r--r-- | background_scripts/main.coffee | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/background_scripts/commands.coffee b/background_scripts/commands.coffee index 2ab6813e..4b3130c8 100644 --- a/background_scripts/commands.coffee +++ b/background_scripts/commands.coffee @@ -100,7 +100,7 @@ Commands = ["goBack", "goForward"] tabManipulation: ["nextTab", "previousTab", "firstTab", "lastTab", "createTab", "duplicateTab", "removeTab", - "restoreTab", "moveTabToNewWindow", "togglePinTab", "closeTabsToLeft","closeTabsToRight", + "restoreTab", "moveTabToNewWindow", "togglePinTab", "closeTabsOnLeft","closeTabsOnRight", "closeOtherTabs", "moveTabLeft", "moveTabRight"] misc: ["showHelp"] @@ -113,7 +113,7 @@ Commands = "goUp", "goToRoot", "focusInput", "LinkHints.activateModeWithQueue", "LinkHints.activateModeToOpenIncognito", "goNext", "goPrevious", "Marks.activateCreateMode", "Marks.activateGotoMode", "moveTabLeft", "moveTabRight", - "closeTabsToLeft","closeTabsToRight", "closeOtherTabs"] + "closeTabsOnLeft","closeTabsOnRight", "closeOtherTabs"] defaultKeyMappings = "?": "showHelp" @@ -255,8 +255,8 @@ 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}] + closeTabsToLeft: ["Close tabs on the left", {background: true, noRepeat: true}] + closeTabsToRight: ["Close tabs on the right", {background: true, noRepeat: true}] closeOtherTabs: ["Close all other tabs", {background: true, noRepeat: true}] moveTabLeft: ["Move tab to the left", { background: true, passCountToFunction: true }] diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee index a8f851c0..8078f4e6 100644 --- a/background_scripts/main.coffee +++ b/background_scripts/main.coffee @@ -290,8 +290,8 @@ BackgroundCommands = chrome.tabs.sendMessage(tab.id, { name: "focusFrame", frameId: frames[newIndex].id, highlight: true })) - closeTabsToLeft: -> removeTabsRelative "before" - closeTabsToRight: -> removeTabsRelative "after" + closeTabsOnLeft: -> removeTabsRelative "before" + closeTabsOnRight: -> removeTabsRelative "after" closeOtherTabs: -> removeTabsRelative "both" # Remove tabs before, after, or either side of the currently active tab |
