diff options
| author | fukayatsu | 2013-10-04 01:36:53 +0900 | 
|---|---|---|
| committer | fukayatsu | 2013-10-04 01:50:39 +0900 | 
| commit | 6ce9c8137ad2d2d00fe8596d22c0f93177600faa (patch) | |
| tree | 65134756008f0146b4800b3768ba026e1e57ee8b /background_scripts/commands.coffee | |
| parent | 6708ddac3655c92f0ef385562c46d6b5e0d047a8 (diff) | |
| download | vimium-6ce9c8137ad2d2d00fe8596d22c0f93177600faa.tar.bz2 | |
Add shortcut to pin/unpin Tab
Diffstat (limited to 'background_scripts/commands.coffee')
| -rw-r--r-- | background_scripts/commands.coffee | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/background_scripts/commands.coffee b/background_scripts/commands.coffee index ce159c71..3e30e033 100644 --- a/background_scripts/commands.coffee +++ b/background_scripts/commands.coffee @@ -100,7 +100,7 @@ Commands =      historyNavigation:        ["goBack", "goForward"]      tabManipulation: -      ["nextTab", "previousTab", "firstTab", "lastTab", "createTab", "duplicateTab", "removeTab", "restoreTab", "moveTabToNewWindow"] +      ["nextTab", "previousTab", "firstTab", "lastTab", "createTab", "duplicateTab", "removeTab", "restoreTab", "moveTabToNewWindow", "togglePinTab"]      misc:        ["showHelp"] @@ -170,6 +170,8 @@ defaultKeyMappings =    "x": "removeTab"    "X": "restoreTab" +  ".": "togglePinTab" +    "o": "Vomnibar.activate"    "O": "Vomnibar.activateInNewTab" @@ -245,6 +247,7 @@ commandDescriptions =    removeTab: ["Close current tab", { background: true, noRepeat: true }]    restoreTab: ["Restore closed tab", { background: true }]    moveTabToNewWindow: ["Move tab to new window", { background: true }] +  togglePinTab: ["Pin/unpin current tab", { background: true }]    "Vomnibar.activate": ["Open URL, bookmark, or history entry"]    "Vomnibar.activateInNewTab": ["Open URL, bookmark, history entry, in a new tab"] | 
