diff options
author | anekos | 2010-12-17 00:58:50 +0900 |
---|---|---|
committer | anekos | 2010-12-17 00:58:50 +0900 |
commit | b8016f92080aeddf4ec4ac47dd14e0a2ad081258 (patch) | |
tree | eedad2fef5455a02ceb4dcd4f4a54b668af4e775 /panorama.js | |
parent | 6fe7a2b26a3dfbc4a551277f1f65b70560f4fd03 (diff) | |
parent | 7476f5c0b6fa120d90683c860dea442a398fa74c (diff) | |
download | vimperator-plugins-b8016f92080aeddf4ec4ac47dd14e0a2ad081258.tar.bz2 |
Merge branch 'master' of github.com:vimpr/vimperator-plugins
Diffstat (limited to 'panorama.js')
-rw-r--r-- | panorama.js | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/panorama.js b/panorama.js index f9649da..464bdaa 100644 --- a/panorama.js +++ b/panorama.js @@ -95,6 +95,13 @@ let INFO = <> </description> </item> <item> + <tags>pintab pin</tags> + <spec>pin<oa>tab</oa></spec> + <description> + <p>pin the current tab, if already pinned, unpin.</p> + </description> + </item> + <item> <tags>settitle</tags> <spec>settitle <a>title</a> <oa>GroupName</oa></spec> <description> @@ -704,6 +711,19 @@ let subCmds = [ }, true) // }}} , /** + * SubCommand pinTab {{{ + */ + new Command(["pin[tab]"], "toggle AppTab the current tab", + function (args) { + let currentTab = tabs.getTab(); + if (currentTab.pinned) + gBrowser.unpinTab(currentTab); + else + gBrowser.pinTab(currentTab); + }, { + }, true) // }}} + , + /** * SubCommand settitle {{{ */ new Command(["settitle"], "set group title", |