1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-24 23:32:25 +01:00
Files
pentadactyl-pm/common/locale/en-US/insert.xml
2010-11-20 15:38:49 +01:00

568 lines
12 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/help.dtd">
<document
name="insert"
title="&dactyl.appName; Insert Mode"
xmlns="&xmlns.dactyl;"
xmlns:html="&xmlns.html;">
<h1 tag="insert-mode insert mode-insert">Insert mode</h1>
<toc start="2"/>
<p>
TODO: INTRODUCTORY TEXT...
</p>
<item>
<tags>t_i</tags>
<spec>t_i</spec>
<description short="true">
<p>Starts Insert mode in text areas when <o>insertmode</o> is not set.</p>
</description>
</item>
<h2 tag="ins-special-keys">Insert-mode special keys</h2>
<p>
In Insert mode the following key mappings are processed by
&dactyl.appName;. All other keys are passed directly to &dactyl.host;.
</p>
<item>
<tags><![CDATA[i_<C-i>]]></tags>
<spec>&lt;C-i></spec>
<description short="true">
<p>Launch the external editor. See the <o>editor</o> option.</p>
</description>
</item>
<item>
<tags><![CDATA[i_<C-t>]]></tags>
<spec>&lt;C-t></spec>
<description short="true">
<p>
Enter Text Edit mode. This is useful for quick editing of text
fields with basic Vim-keys support. See also <o>insertmode</o>.
</p>
</description>
</item>
<item>
<tags><![CDATA[i_<C-]>]]></tags>
<spec>&lt;C-]></spec>
<description short="true">
<p>Expand an Insert-mode abbreviation.</p>
</description>
</item>
<item>
<tags><![CDATA[i_<C-w>]]></tags>
<spec>&lt;C-w></spec>
<description short="true">
<p>
Delete the previous word.
</p>
</description>
</item>
<item>
<tags><![CDATA[i_<C-u>]]></tags>
<spec>&lt;C-u></spec>
<description short="true">
<p>
Delete until the beginning of the current line.
</p>
</description>
</item>
<item>
<tags><![CDATA[i_<C-k>]]></tags>
<spec>&lt;C-k></spec>
<description short="true">
<p>
Delete until the end of the current line.
</p>
</description>
</item>
<item>
<tags><![CDATA[i_<C-a>]]></tags>
<spec>&lt;C-a></spec>
<description short="true">
<p>
Move cursor to the beginning of the current line.
</p>
</description>
</item>
<item>
<tags><![CDATA[i_<C-e>]]></tags>
<spec>&lt;C-e></spec>
<description short="true">
<p>
Move cursor to the end of the current line.
</p>
</description>
</item>
<item>
<tags><![CDATA[i_<C-h>]]></tags>
<spec>&lt;C-h></spec>
<description short="true">
<p>
Delete the character to the left.
</p>
</description>
</item>
<item>
<tags><![CDATA[i_<C-d>]]></tags>
<spec>&lt;C-d></spec>
<description short="true">
<p>
Delete the character to the right.
</p>
</description>
</item>
<item>
<tags><![CDATA[i_<S-Insert>]]></tags>
<spec>&lt;S-Insert></spec>
<description short="true">
<p>
Insert the clipboard/selection.
</p>
</description>
</item>
<h2 tag="text-edit-mode text-edit tedit-mode">Text Edit mode</h2>
<item>
<tags><![CDATA[t_<C-i>]]></tags>
<spec>&lt;C-i></spec>
<description short="true">
<p>Launch the external editor. See the <o>editor</o> option.</p>
</description>
</item>
<h3 tag="tedit-cursor-motions">Cursor motions</h3>
<p>Left-right motions</p>
<item>
<tags><![CDATA[t_h t_<Left> t_<BS>]]></tags>
<spec><oa>count</oa>h</spec>
<description short="true">
<p>
Move the cursor <oa>count</oa> characters to the left.
</p>
</description>
</item>
<item>
<tags><![CDATA[t_l t_<Right> t_<Space>]]></tags>
<spec><oa>count</oa>l</spec>
<description short="true">
<p>
Move the cursor <oa>count</oa> characters to the right.
</p>
</description>
</item>
<item>
<tags><![CDATA[t_0 t_^ t_<Home>]]></tags>
<spec>0</spec>
<description short="true">
<p>
Move the cursor to the first character in the line.
</p>
</description>
</item>
<item>
<tags><![CDATA[t_$ t_<End>]]></tags>
<spec>$</spec>
<description short="true">
<p>
Move the cursor to the last character in the line.
</p>
</description>
</item>
<item>
<tags>t_f</tags>
<spec><oa>count</oa>f</spec>
<description short="true">
<p>
Move to a character on the current line after the cursor.
</p>
</description>
</item>
<item>
<tags>t_F</tags>
<spec><oa>count</oa>F</spec>
<description short="true">
<p>
Move to a character on the current line before the cursor.
</p>
</description>
</item>
<item>
<tags>t_t</tags>
<spec><oa>count</oa>t</spec>
<description short="true">
<p>
Move before a character on the current line.
</p>
</description>
</item>
<item>
<tags>t_T</tags>
<spec><oa>count</oa>T</spec>
<description short="true">
<p>
Move before a character on the current line, backwards.
</p>
</description>
</item>
<p>Up-down motions</p>
<item>
<tags><![CDATA[t_k t_<Up>]]></tags>
<spec><oa>count</oa>k</spec>
<description short="true">
<p>
Move the cursor <oa>count</oa> lines upward.
</p>
</description>
</item>
<item>
<tags><![CDATA[t_j t_<Down> t_<Return>]]></tags>
<spec><oa>count</oa>j</spec>
<description short="true">
<p>
Move the cursor <oa>count</oa> lines downward.
</p>
</description>
</item>
<item>
<tags><![CDATA[t_gg t_<C-Home>]]></tags>
<spec>gg</spec>
<description short="true">
<p>
Move to the first line.
</p>
</description>
</item>
<item>
<tags><![CDATA[t_G t_<C-End>]]></tags>
<spec>G</spec>
<description short="true">
<p>
Move to the last line.
</p>
</description>
</item>
<p>Word motions</p>
<item>
<tags><![CDATA[t_b t_B t_<C-Left>]]></tags>
<spec><oa>count</oa>b</spec>
<description short="true">
<p>
Move the cursor <oa>count</oa> words backwards.
</p>
</description>
</item>
<item>
<tags><![CDATA[t_w t_W t_e t_<C-Right>]]></tags>
<spec><oa>count</oa>w</spec>
<description short="true">
<p>
Move the cursor <oa>count</oa> words forwards.
</p>
</description>
</item>
<h3 tag="tedit-scroll">Scrolling</h3>
<item>
<tags><![CDATA[t_<C-f> t_<PageDown>]]></tags>
<spec><oa>count</oa>&lt;C-f></spec>
<description short="true">
<p>
Scroll the text area <oa>count</oa> pages down.
</p>
</description>
</item>
<item>
<tags><![CDATA[t_<C-b> t_<PageUp>]]></tags>
<spec><oa>count</oa>&lt;C-b></spec>
<description short="true">
<p>
Scroll the text area <oa>count</oa> pages up.
</p>
</description>
</item>
<h3 tag="tedit-inserting">Insert commands</h3>
<item>
<tags>t_a</tags>
<spec>a</spec>
<description short="true">
<p>
Append text after the cursor.
</p>
</description>
</item>
<item>
<tags>t_A</tags>
<spec>A</spec>
<description short="true">
<p>
Append text at the end of the line.
</p>
</description>
</item>
<item>
<tags>t_i</tags>
<spec>i</spec>
<description short="true">
<p>
Insert text before the cursor.
</p>
</description>
</item>
<item>
<tags>t_I</tags>
<spec>I</spec>
<description short="true">
<p>
Insert text at the beginning of the line.
</p>
</description>
</item>
<item>
<tags>t_o</tags>
<spec>o</spec>
<description short="true">
<p>
Insert text in a new line below the cursor.
</p>
</description>
</item>
<item>
<tags>t_O</tags>
<spec>O</spec>
<description short="true">
<p>
Insert text in a new line above the cursor.
</p>
</description>
</item>
<h3 tag="tedit-deleting">Deleting text</h3>
<item>
<tags>t_d</tags>
<spec>d<a>motion</a></spec>
<description short="true">
<p>
Delete <a>motion</a> text.
</p>
</description>
</item>
<item>
<tags>t_D</tags>
<spec>D</spec>
<description short="true">
<p>
Delete the characters under the cursor until the end of the line.
</p>
</description>
</item>
<item>
<tags>t_x</tags>
<spec>x</spec>
<description short="true">
<p>
Delete the character to the left of the cursor.
</p>
</description>
</item>
<item>
<tags>t_X</tags>
<spec>X</spec>
<description short="true">
<p>
Delete the character to the right of the cursor.
</p>
</description>
</item>
<h3 tag="tedit-visual-start">Starting and stopping Visual mode</h3>
<item>
<tags>t_v</tags>
<spec>v</spec>
<description short="true">
<p>
Start characterwise visual mode.
</p>
</description>
</item>
<item>
<tags>t_V</tags>
<spec>V</spec>
<description short="true">
<p>
Start linewise visual mode.
</p>
</description>
</item>
<item>
<tags>v_v</tags>
<spec><a>Visual</a>v</spec>
<description short="true">
<p>
Stop characterwise visual mode.
</p>
</description>
</item>
<item>
<tags>v_V</tags>
<spec><a>Visual</a>V</spec>
<description short="true">
<p>
Start linewise visual mode.
</p>
</description>
</item>
<h3 tag="tedit-replacing texedit-delete-insert">Delete and insert</h3>
<item>
<tags>t_c</tags>
<spec>c<a>motion</a></spec>
<description short="true">
<p>
Delete <a>motion</a> text and start insert.
</p>
</description>
</item>
<item>
<tags>t_C</tags>
<spec>C</spec>
<description short="true">
<p>
Delete from the cursor to the end of the line and start insert.
</p>
</description>
</item>
<item>
<tags>t_s</tags>
<spec>s</spec>
<description short="true">
<p>
Delete the character in front of the cursor and start insert.
</p>
</description>
</item>
<item>
<tags>t_S</tags>
<spec>S</spec>
<description short="true">
<p>
Delete the current line and start insert.
</p>
</description>
</item>
<h3 tag="tedit-copy-move">Copying and moving text</h3>
<item>
<tags>t_y v_y</tags>
<spec>y<a>motion</a></spec>
<spec><a>Visual</a>y</spec>
<description short="true">
<p>
Yank <a>motion</a> text to the clipboard or the selection if <a>Visual</a>.
</p>
</description>
</item>
<item>
<tags>t_p</tags>
<spec><oa>count</oa>p</spec>
<description short="true">
<p>
Paste clipboard contents.
</p>
</description>
</item>
<h3 tag="tedit-undo-commands">Undo and redo commands</h3>
<item>
<tags>t_u</tags>
<spec>u</spec>
<description short="true">
<p>
Undo changes.
</p>
</description>
</item>
<item>
<tags>t_&lt;C-r></tags>
<spec>&lt;C-r></spec>
<description short="true">
<p>
Redo undone changes.
</p>
</description>
</item>
<item>
<tags>t_~</tags>
<spec>~</spec>
<description>
<p>
Switch case of the character under the cursor and move the cursor
to the right.
</p>
</description>
</item>
</document>
<!-- vim:se sts=4 sw=4 et: -->