1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-27 10:33:31 +01:00

Update the docs with the recent command banging.

This commit is contained in:
Štěpán Němec
2011-02-12 00:30:46 +01:00
parent c1bf0cb322
commit 5bc5c91c05
4 changed files with 37 additions and 73 deletions

View File

@@ -156,38 +156,25 @@
<item> <item>
<tags>:unm :unmap</tags> <tags>:unm :unmap</tags>
<spec>:unmap <a>lhs</a></spec> <spec>:unmap <a>lhs</a></spec>
<spec>:unmap!</spec>
<tags>:nun :nunmap</tags> <tags>:nun :nunmap</tags>
<spec>:nun<oa>map</oa> <a>lhs</a></spec> <spec>:nun<oa>map</oa> <a>lhs</a></spec>
<spec>:nun<oa>map</oa>!</spec>
<tags>:vun :vunmap</tags> <tags>:vun :vunmap</tags>
<spec>:vun<oa>map</oa> <a>lhs</a></spec> <spec>:vun<oa>map</oa> <a>lhs</a></spec>
<spec>:vun<oa>map</oa>!</spec>
<tags>:iu :iunmap</tags> <tags>:iu :iunmap</tags>
<spec>:iu<oa>nmap</oa> <a>lhs</a></spec> <spec>:iu<oa>nmap</oa> <a>lhs</a></spec>
<spec>:iu<oa>nmap</oa>!</spec>
<tags>:tu :tunmap</tags> <tags>:tu :tunmap</tags>
<spec>:tu<oa>nmap</oa> <a>lhs</a></spec> <spec>:tu<oa>nmap</oa> <a>lhs</a></spec>
<spec>:tu<oa>nmap</oa>!</spec>
<tags>:cu :cunmap</tags> <tags>:cu :cunmap</tags>
<spec>:cu<oa>nmap</oa> <a>lhs</a></spec> <spec>:cu<oa>nmap</oa> <a>lhs</a></spec>
<spec>:cu<oa>nmap</oa>!</spec>
<description> <description>
<p>Remove the mapping of <a>lhs</a> for the applicable mode(s).</p> <p>Remove the mapping of <a>lhs</a> (or all mappings if <oa>!</oa> is
</description> given) for the applicable mode(s).</p>
</item>
<item>
<tags>:mapc :mapclear</tags>
<spec>:mapc<oa>lear</oa></spec>
<tags>:nmapc :nmapclear</tags>
<spec>:nmapc<oa>lear</oa></spec>
<tags>:vmapc :vmapclear</tags>
<spec>:vmapc<oa>lear</oa></spec>
<tags>:imapc :imapclear</tags>
<spec>:imapc<oa>lear</oa></spec>
<tags>:tmapc :tmapclear</tags>
<spec>:tmapc<oa>lear</oa></spec>
<tags>:cmapc :cmapclear</tags>
<spec>:cmapc<oa>lear</oa></spec>
<description>
<p>
Remove all user-defined mappings for the applicable mode(s).
</p>
</description> </description>
</item> </item>
@@ -459,7 +446,7 @@
</p> </p>
<p> <p>
If <a>group</a> is specified than abbreviations are created or If <a>group</a> is specified then abbreviations are created or
listed for the given <t>group</t>. listed for the given <t>group</t>.
</p> </p>
</description> </description>
@@ -495,17 +482,19 @@
<item> <item>
<tags>:una :unabbreviate</tags> <tags>:una :unabbreviate</tags>
<spec>:una<oa>bbreviate</oa> <a>lhs</a></spec> <spec>:una<oa>bbreviate</oa> <a>lhs</a></spec>
<spec>:una<oa>bbreviate</oa>!</spec>
<description> <description>
<p>Remove an abbreviation.</p> <p>Remove an abbreviation. With <oa>!</oa>, remove all abbreviations.</p>
</description> </description>
</item> </item>
<item> <item>
<tags>:cuna :cunabbreviate</tags> <tags>:cuna :cunabbreviate</tags>
<spec>:cuna<oa>bbreviate</oa> <a>lhs</a></spec> <spec>:cuna<oa>bbreviate</oa> <a>lhs</a></spec>
<spec>:cuna<oa>bbreviate</oa>!</spec>
<description> <description>
<p> <p>
Remove an abbreviation for Command-line mode. Same as Remove abbreviation(s) for Command-line mode. Same as
<ex>:una<oa>bbreviate</oa></ex>, but for <ex>:una<oa>bbreviate</oa></ex>, but for
<t>command-line</t> mode only. <t>command-line</t> mode only.
</p> </p>
@@ -515,39 +504,16 @@
<item> <item>
<tags>:iuna :iunabbreviate</tags> <tags>:iuna :iunabbreviate</tags>
<spec>:iuna<oa>bbreviate</oa> <a>lhs</a></spec> <spec>:iuna<oa>bbreviate</oa> <a>lhs</a></spec>
<spec>:iuna<oa>bbreviate</oa>!</spec>
<description> <description>
<p> <p>
Remove an abbreviation for Insert mode. Same as Remove abbreviation(s) for Insert mode. Same as
<ex>:una<oa>bbreviate</oa></ex> but for Insert mode <ex>:una<oa>bbreviate</oa></ex> but for Insert mode
only. only.
</p> </p>
</description> </description>
</item> </item>
<item>
<tags>:abc :abclear</tags>
<spec>:abc<oa>lear</oa></spec>
<description short="true">
<p>Remove all abbreviations.</p>
</description>
</item>
<item>
<tags>:cabc :cabclear</tags>
<spec>:cabc<oa>lear</oa></spec>
<description short="true">
<p>Remove all abbreviations for command-line mode.</p>
</description>
</item>
<item>
<tags>:iabc :iabclear</tags>
<spec>:iabc<oa>lear</oa></spec>
<description short="true">
<p>Remove all abbreviations for Insert mode.</p>
</description>
</item>
<h2 tag="user-commands">User-defined commands</h2> <h2 tag="user-commands">User-defined commands</h2>
<p> <p>
@@ -725,19 +691,13 @@
</description> </description>
</item> </item>
<item>
<tags>:comc :comclear</tags>
<spec>:comc<oa>lear</oa></spec>
<description short="true">
<p>Delete all user-defined commands.</p>
</description>
</item>
<item> <item>
<tags>:delc :delcommand</tags> <tags>:delc :delcommand</tags>
<spec>:delc<oa>ommand</oa> <a>cmd</a></spec> <spec>:delc<oa>ommand</oa> <a>cmd</a></spec>
<spec>:delc<oa>ommand</oa>!</spec>
<description> <description>
<p>Delete the user-defined command <a>cmd</a>.</p> <p>Delete the user-defined command <a>cmd</a>. With <oa>!</oa>, delete
all user commands.</p>
</description> </description>
</item> </item>

View File

@@ -66,7 +66,7 @@
<dt>CompGroup</dt> <dd>The top-level container for a group of completion results</dd> <dt>CompGroup</dt> <dd>The top-level container for a group of completion results</dd>
<dt>CompIcon</dt> <dd>The favicon of a completion row</dd> <dt>CompIcon</dt> <dd>The favicon of a completion row</dd>
<dt>CompItem</dt> <dd>A row of completion list</dd> <dt>CompItem</dt> <dd>A row of completion list</dd>
<dt>CompItem[selected]</dt><dd>    A selected row of completion list</dd> <dt>CompItem[selected]</dt><dd>A selected row of completion list</dd>
<dt>CompLess::after</dt> <dd>The character of indicator shown when completions may be scrolled up</dd> <dt>CompLess::after</dt> <dd>The character of indicator shown when completions may be scrolled up</dd>
<dt>CompLess</dt> <dd>The indicator shown when completions may be scrolled up</dd> <dt>CompLess</dt> <dd>The indicator shown when completions may be scrolled up</dd>
<dt>CompMore::after</dt> <dd>The character of indicator shown when completions may be scrolled down</dd> <dt>CompMore::after</dt> <dd>The character of indicator shown when completions may be scrolled down</dd>
@@ -103,7 +103,7 @@
<dt>StatusLine</dt> <dd>The status bar</dd> <dt>StatusLine</dt> <dd>The status bar</dd>
<dt>StatusLineNormal</dt> <dd>The status bar for an ordinary web page</dd> <dt>StatusLineNormal</dt> <dd>The status bar for an ordinary web page</dd>
<dt>StatusLineBroken</dt> <dd>The status bar for a broken web page</dd> <dt>StatusLineBroken</dt> <dd>The status bar for a broken web page</dd>
<dt>StatusLineExtended</dt><dd>    The status bar for a secure web page with an Extended Validation (EV) certificate</dd> <dt>StatusLineExtended</dt><dd>The status bar for a secure web page with an Extended Validation (EV) certificate</dd>
<dt>StatusLineSecure</dt> <dd>The status bar for a secure web page</dd> <dt>StatusLineSecure</dt> <dd>The status bar for a secure web page</dd>
<dt>String</dt> <dd>A JavaScript String object</dd> <dt>String</dt> <dd>A JavaScript String object</dd>
<dt>TabClose</dt> <dd>The close button of a browser tab</dd> <dt>TabClose</dt> <dd>The close button of a browser tab</dd>
@@ -185,14 +185,15 @@
<item> <item>
<tags>:dels :delstyle</tags> <tags>:dels :delstyle</tags>
<spec>:dels<oa>tyle</oa> <oa>-name=<a>name</a></oa> <oa>-index=<a>index</a></oa> <oa>filter</oa> <oa>css</oa></spec> <spec>:dels<oa>tyle</oa><oa>!</oa> <oa>-name=<a>name</a></oa> <oa>-index=<a>index</a></oa> <oa>filter</oa> <oa>css</oa></spec>
<description> <description>
<p> <p>
Delete any matching styles. If <oa>filter</oa> is provided, only Delete any matching styles. With <oa>!</oa>, delete all styles.
matching elements of the filter are disabled. For instance, when If <oa>filter</oa> is provided, only matching elements of the
run with a filter <str>mozilla.org</str>, an existing style with a filter are disabled. For instance, when run with a filter
filter <str>www.google.com,mozilla.org</str>, will result in a <str>mozilla.org</str>, an existing style with a filter
style for <str>www.google.com</str>. <str>www.google.com,mozilla.org</str>, will result in a style for
<str>www.google.com</str>.
</p> </p>
<p>The available options are:</p> <p>The available options are:</p>
@@ -209,9 +210,9 @@
<tags>:styleenable :stylee</tags> <tags>:styleenable :stylee</tags>
<tags>:styenable :stye</tags> <tags>:styenable :stye</tags>
<strut/> <strut/>
<spec>:styled<oa>isable</oa> <oa>-name=<a>name</a></oa> <oa>-index=<a>index</a></oa> <oa>filter</oa> <oa>css</oa></spec> <spec>:styled<oa>isable</oa><oa>!</oa> <oa>-name=<a>name</a></oa> <oa>-index=<a>index</a></oa> <oa>filter</oa> <oa>css</oa></spec>
<description> <description>
<p>Enable any matching styles. Arguments are the same as for <ex>:delstyle</ex></p> <p>Enable any matching styles. With <oa>!</oa>, enable all styles. Arguments are the same as for <ex>:delstyle</ex></p>
</description> </description>
</item> </item>
@@ -219,9 +220,9 @@
<tags>:styledisable :styled</tags> <tags>:styledisable :styled</tags>
<tags>:stydisable :styd</tags> <tags>:stydisable :styd</tags>
<strut/> <strut/>
<spec>:stylee<oa>nable</oa> <oa>-name=<a>name</a></oa> <oa>-index=<a>index</a></oa> <oa>filter</oa> <oa>css</oa></spec> <spec>:stylee<oa>nable</oa><oa>!</oa> <oa>-name=<a>name</a></oa> <oa>-index=<a>index</a></oa> <oa>filter</oa> <oa>css</oa></spec>
<description> <description>
<p>Disable any matching styles. Arguments are the same as for <ex>:delstyle</ex></p> <p>Disable any matching styles. With <oa>!</oa>, disable all styles. Arguments are the same as for <ex>:delstyle</ex></p>
</description> </description>
</item> </item>
@@ -229,9 +230,9 @@
<tags>:styletoggle :stylet</tags> <tags>:styletoggle :stylet</tags>
<tags>:stytoggle :styt</tags> <tags>:stytoggle :styt</tags>
<strut/> <strut/>
<spec>:stylet<oa>oggle</oa> <oa>-name=<a>name</a></oa> <oa>-index=<a>index</a></oa> <oa>filter</oa> <oa>css</oa></spec> <spec>:stylet<oa>oggle</oa><oa>!</oa> <oa>-name=<a>name</a></oa> <oa>-index=<a>index</a></oa> <oa>filter</oa> <oa>css</oa></spec>
<description> <description>
<p>Toggle any matching styles. Arguments are the same as for <ex>:delstyle</ex></p> <p>Toggle any matching styles. With <oa>!</oa>, toggle all styles. Arguments are the same as for <ex>:delstyle</ex></p>
</description> </description>
</item> </item>

View File

@@ -572,7 +572,6 @@ var Styles = Module("Styles", {
} }
}, },
{ {
bang: true,
completer: function (context, args) { completer: function (context, args) {
let compl = []; let compl = [];
let sheet = args["-group"].get(args["-name"]); let sheet = args["-group"].get(args["-name"]);

View File

@@ -96,6 +96,8 @@
- Added -charset and -post to :bmark. [b5] - Added -charset and -post to :bmark. [b5]
- Added -keyword, -tags, -title to :delbmarks. [b2] - Added -keyword, -tags, -title to :delbmarks. [b2]
- Added :extrehash, :exttoggle, :extupdate, and :rehash commands. [b5] - Added :extrehash, :exttoggle, :extupdate, and :rehash commands. [b5]
- :abclear, :comclear and :mapclear have been substituted by a bang now
accepted by :unabbreviate, :delcommand and :unmap, respectively. [b6]
- Added :feedkeys command. [b4] - Added :feedkeys command. [b4]
- Added -sort option to :history. [b4] - Added -sort option to :history. [b4]
- Added several new options, including -javascript, to :abbreviate and - Added several new options, including -javascript, to :abbreviate and
@@ -123,6 +125,8 @@
- :style-related commands now divide their completions between - :style-related commands now divide their completions between
those active and inactive for the current site. [b4] those active and inactive for the current site. [b4]
- CSS property name completion is now available. [b4] - CSS property name completion is now available. [b4]
- :delstyle, :styleenable, :styledisable and :styletoggle accept a !
to operate on all styles. [b6]
* IMPORTANT option changes: * IMPORTANT option changes:
- Option value quoting has changed. List options will - Option value quoting has changed. List options will
no longer be split at quoted commas and the option name, operators, and no longer be split at quoted commas and the option name, operators, and