diff options
| author | Stephen Blott | 2016-02-20 11:36:36 +0000 | 
|---|---|---|
| committer | Stephen Blott | 2016-02-20 11:36:36 +0000 | 
| commit | 1795d5a50531f7d090375ea6078ad6e0d59830fe (patch) | |
| tree | 3672bc34000d0de91a29df922dc5a941b3a98496 /background_scripts/commands.coffee | |
| parent | ac2018212ad438b70263d6a183e388d6a7e595d8 (diff) | |
| download | vimium-1795d5a50531f7d090375ea6078ad6e0d59830fe.tar.bz2 | |
moveToNewWindow accepts a count.
This make `moveToNewWindow` accept a count.  For example, `3W` to move
three tabs to (the same) new window.
The tabs chosen are the current tab, then those to the right of the
current tab, and then those to the left of the current tab.
`999W` moves *all* tabs to a new window.  It's not clear why you would
want to do that.  An alternative would be to leave the last tab behind.
Diffstat (limited to 'background_scripts/commands.coffee')
| -rw-r--r-- | background_scripts/commands.coffee | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/background_scripts/commands.coffee b/background_scripts/commands.coffee index 80ca0f96..85cab015 100644 --- a/background_scripts/commands.coffee +++ b/background_scripts/commands.coffee @@ -329,7 +329,7 @@ commandDescriptions =      (if chrome.session then chrome.session.MAX_SESSION_RESULTS else 25) }]    restoreTab: ["Restore closed tab", { background: true, repeatLimit: 20 }] -  moveTabToNewWindow: ["Move tab to new window", { background: true }] +  moveTabToNewWindow: ["Move tab to new window", { background: true, passCountToFunction: true }]    togglePinTab: ["Pin/unpin current tab", { background: true }]    closeTabsOnLeft: ["Close tabs on the left", {background: true, noRepeat: true}]  | 
