mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-24 17:33:32 +01:00
Major documentation updates and formatting fixes, and many, many other changes thanks to an MQ glitch, including:
* Significant completion speed improvements * Significantly improve startup speed, in large part by lazily instantiating Options and Commands, lazily installing highlight stylesheets, etc. * Update logos and icons, fix atrocious about page * Fix Teledactyl * JavaScript completion now avoids accessing property values * Add Option#persist to define which options are saved with :mkp * Add new Dactyl component which holds add-on-specific configuration information and removes need for separate components for each dactyl host * Several fixes for latest nightlies * Significant code cleanup and many bug fixes --HG-- rename : muttator/AUTHORS => teledactyl/AUTHORS rename : muttator/Donors => teledactyl/Donors rename : muttator/Makefile => teledactyl/Makefile rename : muttator/NEWS => teledactyl/NEWS rename : muttator/TODO => teledactyl/TODO rename : muttator/chrome.manifest => teledactyl/chrome.manifest rename : muttator/components/commandline-handler.js => teledactyl/components/commandline-handler.js rename : muttator/components/protocols.js => teledactyl/components/protocols.js rename : muttator/content/addressbook.js => teledactyl/content/addressbook.js rename : muttator/content/compose/compose.js => teledactyl/content/compose/compose.js rename : muttator/content/compose/compose.xul => teledactyl/content/compose/compose.xul rename : muttator/content/compose/dactyl.dtd => teledactyl/content/compose/dactyl.dtd rename : muttator/content/compose/dactyl.xul => teledactyl/content/compose/dactyl.xul rename : muttator/content/config.js => teledactyl/content/config.js rename : muttator/content/dactyl.dtd => teledactyl/content/dactyl.dtd rename : muttator/content/logo.png => teledactyl/content/logo.png rename : muttator/content/mail.js => teledactyl/content/mail.js rename : muttator/content/muttator.xul => teledactyl/content/pentadactyl.xul rename : muttator/contrib/vim/Makefile => teledactyl/contrib/vim/Makefile rename : muttator/contrib/vim/ftdetect/muttator.vim => teledactyl/contrib/vim/ftdetect/muttator.vim rename : muttator/contrib/vim/mkvimball.txt => teledactyl/contrib/vim/mkvimball.txt rename : muttator/contrib/vim/syntax/muttator.vim => teledactyl/contrib/vim/syntax/muttator.vim rename : muttator/install.rdf => teledactyl/install.rdf rename : muttator/locale/en-US/Makefile => teledactyl/locale/en-US/Makefile rename : muttator/locale/en-US/all.xml => teledactyl/locale/en-US/all.xml rename : muttator/locale/en-US/autocommands.xml => teledactyl/locale/en-US/autocommands.xml rename : muttator/locale/en-US/gui.xml => teledactyl/locale/en-US/gui.xml rename : muttator/locale/en-US/intro.xml => teledactyl/locale/en-US/intro.xml rename : muttator/skin/icon.png => teledactyl/skin/icon.png
This commit is contained in:
@@ -6,15 +6,23 @@
|
||||
<document
|
||||
name="tabs"
|
||||
title="&dactyl.appname; Tabs"
|
||||
xmlns="http://vimperator.org/namespaces/liberator"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml">
|
||||
<h1 tag="tabs">Tabs</h1>
|
||||
xmlns="&xmlns.dactyl;"
|
||||
xmlns:html="&xmlns.html;">
|
||||
<h1 tag="tabs buffers">Tabs and buffers</h1>
|
||||
<toc start="2"/>
|
||||
|
||||
<p>
|
||||
Tabs are used to be able to view many web pages at the same time. Each tab
|
||||
contains exactly one buffer—multiple buffers per tab are not supported. As a
|
||||
result many buffer and tab commands are interchangeable.
|
||||
Tabs allow you to keep many web pages open at the same time and to quickly
|
||||
switch between them. Each tab contains exactly one buffer. If your version
|
||||
of &dactyl.host; supports tab groups, only buffers in the active group
|
||||
will be attached to visible tabs. Though all buffers may not always be
|
||||
attached to visible tabs, they are all always accessible via the
|
||||
buffer-centric commands and key bindings. Tab-centric commands and key
|
||||
bindings, however, only operate on the set of visible tabs.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
||||
</p>
|
||||
|
||||
<h2 tag="listing-tabs">Listing tabs</h2>
|
||||
@@ -25,15 +33,16 @@
|
||||
<spec>B</spec>
|
||||
<description>
|
||||
<p>
|
||||
Show a list of buffers (=tabs) matching <oa>filter</oa>. Without <oa>filter</oa>
|
||||
list all tabs.
|
||||
Show a list of buffers matching <oa>filter</oa>. Buffers are
|
||||
listed according to their tab groups, whether they are visible or
|
||||
not.
|
||||
</p>
|
||||
|
||||
<p>A buffer may be marked with one of the following indicators:</p>
|
||||
|
||||
<dl>
|
||||
<dt>%</dt><dd>The current buffer</dd>
|
||||
<dt>#</dt><dd>The alternate buffer for <ex>:e #</ex> and <k name="C-^"/></dd>
|
||||
<dt><hl key="Indicator">%</hl></dt><dd>The current buffer</dd>
|
||||
<dt><hl key="Indicator">#</hl></dt><dd>The alternate buffer for <ex>:e #</ex> and <k name="C-^"/></dd>
|
||||
</dl>
|
||||
</description>
|
||||
</item>
|
||||
@@ -52,21 +61,13 @@
|
||||
|
||||
<item>
|
||||
<tags>:tab</tags>
|
||||
<strut/>
|
||||
<spec>:tab <a>cmd</a></spec>
|
||||
<description>
|
||||
<p>
|
||||
Execute <a>cmd</a> and tell it to output in a new tab. Works only for commands that
|
||||
support it, currently:
|
||||
Execute <a>cmd</a>, but open any new pages in a new tab rather
|
||||
than the currently focused tab.
|
||||
</p>
|
||||
|
||||
<ul>
|
||||
<li><ex>:tab addons</ex></li>
|
||||
<li><ex>:tab downloads</ex></li>
|
||||
<li><ex>:tab extoptions</ex></li>
|
||||
<li><ex>:tab help</ex></li>
|
||||
<li><ex>:tab javascript!</ex></li>
|
||||
<li><ex>:tab preferences!</ex></li>
|
||||
</ul>
|
||||
</description>
|
||||
</item>
|
||||
|
||||
@@ -77,8 +78,8 @@
|
||||
<spec>:wind<oa>ow</oa> <a>cmd</a></spec>
|
||||
<description>
|
||||
<p>
|
||||
Execute <a>cmd</a> and tell it to output in a new window. See <ex>:tab</ex> for the
|
||||
list of supported commands.
|
||||
Execute <a>cmd</a>, but open any new pages in a new window rather
|
||||
than the currently focused tab.
|
||||
</p>
|
||||
</description>
|
||||
</item>
|
||||
@@ -89,20 +90,22 @@
|
||||
<spec>:<oa>count</oa>tabdu<oa>plicate</oa></spec>
|
||||
<description>
|
||||
<p>
|
||||
Duplicate the current tab and switch to the duplicate. If <oa>count</oa> is given,
|
||||
duplicate the tab <oa>count</oa> times.
|
||||
Duplicate the current tab and focus the duplicate. If
|
||||
<oa>count</oa> is given, duplicate the tab <oa>count</oa> times.
|
||||
</p>
|
||||
</description>
|
||||
</item>
|
||||
|
||||
|
||||
<!-- TODO: should the tab commands be moved back here? -->
|
||||
See <t>opening</t> for other ways to open new tabs.
|
||||
<p>
|
||||
See <t>opening</t> for other ways to open new tabs.
|
||||
</p>
|
||||
|
||||
<h2 tag="changing-tabs">Changing tabs</h2>
|
||||
|
||||
<item>
|
||||
<tags>gb</tags>
|
||||
<strut/>
|
||||
<spec><oa>count</oa>gb</spec>
|
||||
<description>
|
||||
<p>
|
||||
@@ -115,11 +118,11 @@ See <t>opening</t> for other ways to open new tabs.
|
||||
|
||||
<item>
|
||||
<tags>gB</tags>
|
||||
<strut/>
|
||||
<spec><oa>count</oa>gB</spec>
|
||||
<description>
|
||||
<p>
|
||||
Repeat last <ex>:buffer<oa>!</oa></ex> command in reverse direction. Just like <k>gb</k>
|
||||
but in the other direction.
|
||||
Repeat last <ex>:buffer<oa>!</oa></ex> command in the reverse direction.
|
||||
</p>
|
||||
</description>
|
||||
</item>
|
||||
@@ -127,10 +130,11 @@ See <t>opening</t> for other ways to open new tabs.
|
||||
|
||||
<item>
|
||||
<tags>gt</tags>
|
||||
<strut/>
|
||||
<spec><oa>count</oa>gt</spec>
|
||||
<description>
|
||||
<p>
|
||||
Go to the next tab. Cycles to the first tab when the last is selected. +
|
||||
Go to the next tab. Cycles to the first tab when the last is selected.
|
||||
If <oa>count</oa> is specified go to the <oa>count</oa>th tab.
|
||||
</p>
|
||||
</description>
|
||||
@@ -139,10 +143,11 @@ See <t>opening</t> for other ways to open new tabs.
|
||||
|
||||
<item>
|
||||
<tags><![CDATA[<C-PageDown> <C-Tab> <C-n>]]></tags>
|
||||
<strut/>
|
||||
<spec><oa>count</oa><C-n></spec>
|
||||
<description>
|
||||
<p>
|
||||
Go to the next tab. Cycles to the first tab when the last is selected. +
|
||||
Go to the next tab. Cycles to the first tab when the last is selected.
|
||||
If <oa>count</oa> is specified go to the <oa>count</oa>th next tab.
|
||||
</p>
|
||||
</description>
|
||||
@@ -151,10 +156,11 @@ See <t>opening</t> for other ways to open new tabs.
|
||||
|
||||
<item>
|
||||
<tags><![CDATA[<C-PageUp> <C-S-Tab> <C-p> gT]]></tags>
|
||||
<strut/>
|
||||
<spec><oa>count</oa>gT</spec>
|
||||
<description>
|
||||
<p>
|
||||
Go to the previous tab. Cycles to the last tab when the first is selected. +
|
||||
Go to the previous tab. Cycles to the last tab when the first is selected.
|
||||
If <oa>count</oa> is specified go to the <oa>count</oa>th previous tab.
|
||||
</p>
|
||||
</description>
|
||||
@@ -162,9 +168,11 @@ See <t>opening</t> for other ways to open new tabs.
|
||||
|
||||
|
||||
<item>
|
||||
<tags>:bn :bnext :tn :tnext :tabn :tabnext</tags>
|
||||
<tags>:tabn :tabnext</tags>
|
||||
<spec>:<oa>count</oa>tabn<oa>ext</oa> <oa>count</oa></spec>
|
||||
<tags>:tn :tnext</tags>
|
||||
<spec>:<oa>count</oa>tn<oa>ext</oa> <oa>count</oa></spec>
|
||||
<tags>:bn :bnext</tags>
|
||||
<spec>:<oa>count</oa>bn<oa>ext</oa> <oa>count</oa></spec>
|
||||
<description>
|
||||
<p>
|
||||
@@ -176,12 +184,14 @@ See <t>opening</t> for other ways to open new tabs.
|
||||
|
||||
|
||||
<item>
|
||||
<tags>:bN :bNext :bp :bprevious :tN :tNext :tabN :tabNext :tp :tprevious :tabp :tabprevious</tags>
|
||||
<spec>:<oa>count</oa>tabp<oa>revious</oa> <oa>count</oa></spec>
|
||||
<spec>:<oa>count</oa>tp<oa>revious</oa> <oa>count</oa></spec>
|
||||
<spec>:<oa>count</oa>tabN<oa>ext</oa> <oa>count</oa></spec>
|
||||
<tags>:bN :bNext :bp :bprevious</tags>
|
||||
<spec>:<oa>count</oa>bp<oa>revious</oa> <oa>count</oa></spec>
|
||||
<spec>:<oa>count</oa>bN<oa>ext</oa> <oa>count</oa></spec>
|
||||
<tags>:tN :tNext :tabN :tabNext</tags>
|
||||
<spec>:<oa>count</oa>tabN<oa>ext</oa> <oa>count</oa></spec>
|
||||
<tags>:tp :tprevious :tabp :tabprevious</tags>
|
||||
<spec>:<oa>count</oa>tabp<oa>revious</oa> <oa>count</oa></spec>
|
||||
<spec>:<oa>count</oa>tp<oa>revious</oa> <oa>count</oa></spec>
|
||||
<description>
|
||||
<p>
|
||||
Switch to the previous tab or go <oa>count</oa> tabs back. Wraps around from the
|
||||
@@ -209,8 +219,10 @@ See <t>opening</t> for other ways to open new tabs.
|
||||
<spec><oa>count</oa>b</spec>
|
||||
<description>
|
||||
<p>
|
||||
Go to the specified buffer from the buffer list. Argument can be either the
|
||||
buffer index or the full URL. If <oa>count</oa> is given, go to the <oa>count</oa>th buffer.
|
||||
Go to the specified buffer from the buffer list. Argument can be
|
||||
either the buffer index or the full URL opened in an existing
|
||||
buffer. If <oa>count</oa> is given, go to the <oa>count</oa>th
|
||||
buffer.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
@@ -228,13 +240,17 @@ See <t>opening</t> for other ways to open new tabs.
|
||||
|
||||
|
||||
<item>
|
||||
<tags>g^ g0 :bf :bfirst :br :brewind :tabfir :tabfirst :tabr :tabrewind</tags>
|
||||
<spec>:tabr<oa>ewind</oa></spec>
|
||||
<spec>:tabfir<oa>st</oa></spec>
|
||||
<spec>:br<oa>ewind</oa></spec>
|
||||
<spec>:bf<oa>irst</oa></spec>
|
||||
<tags>g^ g0</tags>
|
||||
<spec>g0</spec>
|
||||
<spec>g^</spec>
|
||||
|
||||
<tags>:bf :bfirst :br :brewind</tags>
|
||||
<spec>:br<oa>ewind</oa></spec>
|
||||
<spec>:bf<oa>irst</oa></spec>
|
||||
|
||||
<tags>:tabfir :tabfirst :tabr :tabrewind</tags>
|
||||
<spec>:tabr<oa>ewind</oa></spec>
|
||||
<spec>:tabfir<oa>st</oa></spec>
|
||||
<description>
|
||||
<p>Switch to the first tab.</p>
|
||||
</description>
|
||||
@@ -254,12 +270,13 @@ See <t>opening</t> for other ways to open new tabs.
|
||||
|
||||
<item>
|
||||
<tags>:tabde :tabdetach</tags>
|
||||
<strut/>
|
||||
<spec>:tabde<oa>tach</oa></spec>
|
||||
<description>
|
||||
<p>
|
||||
Detach the current tab, and open it in its own window. As each window must
|
||||
contain at least one tab it is not possible to detach the only tab in a window.
|
||||
Use <ex>:tabduplicate</ex> to copy the tab then call <ex>:tabdetach</ex>.
|
||||
Detach the current tab, and open it in its own window. As each
|
||||
window must contain at least one buffer, it is not possible to detach
|
||||
the last buffer in a window.
|
||||
</p>
|
||||
</description>
|
||||
</item>
|
||||
@@ -267,13 +284,14 @@ See <t>opening</t> for other ways to open new tabs.
|
||||
|
||||
<item>
|
||||
<tags>:taba :tabattach</tags>
|
||||
<spec>:taba<oa>ttach</oa> <a>window-index</a> <oa>tab-index</oa></spec>
|
||||
<spec>:taba<oa>ttach</oa> <a>window-index</a> <oa>buffer-index</oa></spec>
|
||||
<description>
|
||||
<p>
|
||||
Attach the current tab to another window. {window-index} is an index into the
|
||||
list of open windows and <oa>tab-index</oa> is the index at which to insert the
|
||||
tab in the other window's tab list. If this is the last tab in a window, the
|
||||
window will be closed.
|
||||
Attach the current tab to another window. <a>window-index</a> is
|
||||
an index into the list of open windows and <oa>buffer-index</oa>
|
||||
is the index at which to insert the tab in the other window's
|
||||
buffer list. If this is the last buffer in a window, the window
|
||||
will be closed.
|
||||
</p>
|
||||
</description>
|
||||
</item>
|
||||
@@ -289,7 +307,7 @@ See <t>opening</t> for other ways to open new tabs.
|
||||
<p>
|
||||
Move the current tab to a position after tab <oa>N</oa>. When <oa>N</oa> is 0, the
|
||||
current tab is made the first one. Without <oa>N</oa> the current tab is made the
|
||||
last one. <oa>N</oa> can also be prefixed with "+" or "-" to indicate a relative
|
||||
last one. <oa>N</oa> can also be prefixed with ‘+’ or ‘-’ to indicate a relative
|
||||
movement. If <oa>!</oa> is specified the movement wraps around the start or end of the
|
||||
tab list.
|
||||
</p>
|
||||
@@ -301,19 +319,21 @@ See <t>opening</t> for other ways to open new tabs.
|
||||
<h2 tag="closing-tabs">Closing tabs</h2>
|
||||
|
||||
<item>
|
||||
<tags>d :tabc :tabclose :bun :bunload :bw :bwipeout :bd :bdelete</tags>
|
||||
<tags>d</tags>
|
||||
<tags>:tabc :tabclose</tags>
|
||||
<tags>:bun :bunload :bw :bwipeout :bd :bdelete</tags>
|
||||
<spec>:<oa>count</oa>bd<oa>elete</oa><oa>!</oa> <oa>arg</oa></spec>
|
||||
<spec><oa>count</oa>d</spec>
|
||||
<description>
|
||||
<p>
|
||||
Delete current buffer (=tab). If <oa>count</oa> is specified then <oa>count</oa> tabs are
|
||||
removed. Afterwards, the tab to the right of the deleted tab(s) is selected.
|
||||
Delete current buffer. If <oa>count</oa> is specified then <oa>count</oa> tabs are
|
||||
removed. Afterwards, the tab to the right of the deleted tabs is selected.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
When used with <oa>arg</oa>, remove all tabs which contain <oa>arg</oa> in the
|
||||
hostname. <oa>!</oa> forces this command to also search for <oa>arg</oa> in the full
|
||||
URL and also the title of the tab. Use with care.
|
||||
currently opened hostname. With <oa>!</oa>, remove all tabs for which
|
||||
the currently opened page's URL or title contains <oa>arg</oa>.
|
||||
</p>
|
||||
</description>
|
||||
</item>
|
||||
@@ -322,8 +342,8 @@ See <t>opening</t> for other ways to open new tabs.
|
||||
<item>
|
||||
<tags>D</tags>
|
||||
<spec><oa>count</oa>D</spec>
|
||||
<description>
|
||||
<p>Like <k>d</k> but selects the tab to the left of the deleted tab.</p>
|
||||
<description short="true">
|
||||
<p>Like <k>d</k> but selects the tab to the left of the deleted tabs after deletion..</p>
|
||||
</description>
|
||||
</item>
|
||||
|
||||
@@ -331,8 +351,8 @@ See <t>opening</t> for other ways to open new tabs.
|
||||
<item>
|
||||
<tags>:tabo :tabonly</tags>
|
||||
<spec>:tabo<oa>nly</oa></spec>
|
||||
<description>
|
||||
<p>Close all other tabs.</p>
|
||||
<description short="true">
|
||||
<p>Close all buffers other than the currently visible tab.</p>
|
||||
</description>
|
||||
</item>
|
||||
|
||||
@@ -343,8 +363,9 @@ See <t>opening</t> for other ways to open new tabs.
|
||||
<spec><oa>count</oa>u</spec>
|
||||
<description>
|
||||
<p>
|
||||
Undo closing of a tab. If a count is given, don't undo the last but the
|
||||
<oa>count</oa>th last closed tab. With <oa>url</oa> restores the tab matching the URL.
|
||||
Restore a closed tab. If a <oa>count</oa> is given, restore the
|
||||
<oa>count</oa>th closed tab. With <oa>url</oa>, restores most
|
||||
recently closed tab with a matching URL.
|
||||
</p>
|
||||
</description>
|
||||
</item>
|
||||
@@ -353,11 +374,8 @@ See <t>opening</t> for other ways to open new tabs.
|
||||
<item>
|
||||
<tags>:undoa :undoall</tags>
|
||||
<spec>:undoa<oa>ll</oa></spec>
|
||||
<description>
|
||||
<p>
|
||||
Undo closing of all closed tabs. &dactyl.host; stores up to 10 closed tabs, even
|
||||
after a browser restart.
|
||||
</p>
|
||||
<description short="true">
|
||||
<p>Restore all closed tabs in the closed tabs list.</p>
|
||||
</description>
|
||||
</item>
|
||||
|
||||
@@ -370,8 +388,9 @@ See <t>opening</t> for other ways to open new tabs.
|
||||
<spec>:tabd<oa>o</oa> <a>cmd</a></spec>
|
||||
<description>
|
||||
<p>
|
||||
Execute <a>cmd</a> in each tab. <a>cmd</a> is executed in each tab starting with the
|
||||
first and ending with the last which becomes the current tab.
|
||||
Execute <a>cmd</a> once in each buffer. Each buffer is focused, in
|
||||
turn, and <a>cmd</a> is executed therein. The last buffer remains
|
||||
focused after execution.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
||||
Reference in New Issue
Block a user