1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 00:54:12 +01:00
Files
pentadactyl-pm/common/locale/en-US/cmdline.xml
Štěpán Němec 223859a33b Make the <k> tag mode-aware.
Previously there was no way to produce links to the appropriate mode-specific
binding of a key using the <k> tag (e.g., <Tab> in the documentation always
linked to the Normal-mode command, although its command-line functionality is
different).  This commit introduces a `mode' attribute to the <k> tag, making
the distinction possible.
2010-09-25 02:18:17 +02:00

169 lines
4.2 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"/>, 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"/> equivalent for <o>altwildmode</o>.</p>
</description>
</item>
</document>
<!-- vim:se sts=4 sw=4 et: -->