1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-29 03:12:26 +01:00
Files
pentadactyl-pm/common/locale/en-US/cmdline.xml
2010-10-06 23:57:24 +11:00

220 lines
6.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="chrome://dactyl/content/help.xsl"?>
<!DOCTYPE document SYSTEM "chrome://dactyl/content/dactyl.dtd">
<document
name="cmdline"
title="&dactyl.appName; Command-line"
xmlns="&xmlns.dactyl;"
xmlns:html="&xmlns.html;">
<h1 tag="command-line-mode command-line mode-cmdline">Command-line mode</h1>
<toc start="2"/>
<p>
&dactyl.appName;'s command-line mode is perhaps its most
powerful interface. In this mode, the command input bar at the
bottom of the window is given the keyboard focus for any of a
variety of required inputs. In addition to access to almost
every aspect of &dactyl.appName; and &dactyl.host;, the command
line provides power and comprehensive completion for all of its
commands, along with concise descriptions for each command and
all of its arguments. Couple this with persistent, searchable
command history, and you have a very efficient interface for
easily performing simple and complex tasks.
</p>
<p>
Included among the several command-line modes are Ex command
mode (the standard mode for entering commands), find mode (for
searching the current page), prompt mode (for selecting files,
confirming actions), and hint mode (for selecting links and
other items on a page).
</p>
<item>
<tags>:</tags>
<strut/>
<spec>:</spec>
<description>
<p>
Opens the command line in Ex mode. This is the mode used
for entering the various commands listed in
<t>ex-cmd-index</t>.
</p>
</description>
</item>
<h2 tag="cmdline-editing">Command-line editing</h2>
<item>
<tags><![CDATA[c_<C-c>]]></tags>
<spec>&lt;C-c></spec>
<description short="true">
<p>Quit Command-line mode without executing.</p>
</description>
</item>
<item>
<tags><![CDATA[c_<C-]>]]></tags>
<spec>&lt;C-]></spec>
<description short="true">
<p>Expand a command-line abbreviation.</p>
</description>
</item>
<item>
<tags><![CDATA[c_<Up>]]></tags>
<strut/>
<spec>&lt;Up></spec>
<description>
<p>
Recall from command history the previous command-line
which begins with the current input value.
</p>
</description>
</item>
<item>
<tags><![CDATA[c_<Down>]]></tags>
<strut/>
<spec>&lt;Down></spec>
<description>
<p>
Recall from command history the next command-line
which begins with the current input value.
</p>
</description>
</item>
<item>
<tags><![CDATA[c_<S-Up> c_<PageUp>]]></tags>
<spec>&lt;S-Up></spec>
<strut/>
<spec>&lt;PageUp></spec>
<description>
<p>Recall the previous command line from the history list.</p>
</description>
</item>
<item>
<tags><![CDATA[c_<S-Down> c_<PageDown>]]></tags>
<spec>&lt;S-Down></spec>
<spec>&lt;PageDown></spec>
<description>
<p>Recall the next command line from the history list.</p>
</description>
</item>
<h2 tag="cmdline-completion">Command-line completion</h2>
<item>
<tags><![CDATA[c_<Tab>]]></tags>
<strut/>
<spec>&lt;Tab></spec>
<description>
<p>
Complete the word in front of the cursor according to the behavior
specified in <o>wildmode</o>. If <o>wildmode</o> contains
<str>list</str> and there are multiple matches then the completion
menu window is opened.
</p>
</description>
</item>
<item>
<tags><![CDATA[c_<S-Tab>]]></tags>
<strut/>
<spec>&lt;S-Tab></spec>
<description>
<p>Complete the previous full match when <o>wildmode</o> contains <str>full</str>.</p>
</description>
</item>
<item>
<tags><![CDATA[c_<A-Tab>]]></tags>
<strut/>
<spec>&lt;A-Tab></spec>
<description>
<p>
Similar to <k name="Tab" mode="c"/>, but the completion behavior is
specified by the <o>altwildmode</o> option.
</p>
</description>
</item>
<item>
<tags><![CDATA[c_<A-S-Tab>]]></tags>
<strut/>
<spec>&lt;A-S-Tab></spec>
<description>
<p>The <k name="S-Tab" mode="c"/> equivalent for <o>altwildmode</o>.</p>
</description>
</item>
<h2 tag="cmdline-lines">Ex command lines</h2>
<item>
<tags>:bar</tags>
<strut/>
<description>
<p>
Multiple commands, separated by a <em>|</em> can be
given in a single command line and will be executed consecutively.
<em>|</em> can be included as an argument to a command by escaping
it with a backslash. E.g.
<code><ex>:map \| :echo "bar"<k name="CR"/></ex></code>
Several commands process the entire command line string literally.
These commands will include any <em>|</em> as part of their
argument string and so cannot be followed by another command. The
list of these commands is:
<ul>
<li><ex>abbreviate</ex></li>
<li><ex>autocmd</ex></li>
<li><ex>cabbrev</ex></li>
<li><ex>cmap</ex></li>
<li><ex>cnoremap</ex></li>
<li><ex>command</ex></li>
<li><ex>delmacros</ex></li>
<li><ex>delmarks</ex></li>
<li><ex>delqmarks</ex></li>
<li><ex>delstyle</ex></li>
<li><ex>echo</ex></li>
<li><ex>echoerr</ex></li>
<li><ex>echomsg</ex></li>
<li><ex>execute</ex></li>
<li><ex>highlight</ex></li>
<li><ex>iabbrev</ex></li>
<li><ex>imap</ex></li>
<li><ex>inoremap</ex></li>
<li><ex>javascript</ex></li>
<li><ex>let</ex></li>
<li><ex>map</ex></li>
<li><ex>marks</ex></li>
<li><ex>nmap</ex></li>
<li><ex>nnoremap</ex></li>
<li><ex>noremap</ex></li>
<li><ex>open</ex></li>
<li><ex>qmarks</ex></li>
<li><ex>silent</ex></li>
<li><ex>style</ex></li>
<li><ex>styledisable</ex></li>
<li><ex>styleenable</ex></li>
<li><ex>styletoggle</ex></li>
<li><ex>tabopen</ex></li>
<li><ex>toolbarhide</ex></li>
<li><ex>toolbarshow</ex></li>
<li><ex>toolbartoggle</ex></li>
<li><ex>vmap</ex></li>
<li><ex>vnoremap</ex></li>
<li><ex>winopen</ex></li>
</ul>
</p>
</description>
</item>
</document>
<!-- vim:se sts=4 sw=4 et: -->