Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
2015OmegaT/OmegaT/doc_src/en/App_Keyboard.xml
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
218 lines (162 sloc)
6.76 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" | |
"../../../docbook-xml-4.5/docbookx.dtd"> | |
<appendix id="appendix.keyboard"> | |
<title>Keyboard shortcuts in the editor</title> | |
<para>This short text describes key behavior in the editor pane. The term | |
"Move to inside segment" means, that the cursor moves to the beginning of | |
the segment if it was previously before the segment, and to the end of the | |
segment if it was previously after it.</para> | |
<table> | |
<title>Key behavior in the editor</title> | |
<tgroup cols="2"> | |
<colspec align="left" colnum="1"/> | |
<colspec align="left" colnum="2"/> | |
<thead> | |
<row> | |
<entry align="left">Key combination</entry> | |
<entry align="left">Action</entry> | |
</row> | |
</thead> | |
<tbody> | |
<row> | |
<entry><emphasis role="bold">Left: </emphasis></entry> | |
<entry>one char left, but not further than the beginning of | |
segment</entry> | |
</row> | |
<row> | |
<entry><emphasis role="bold">Right: </emphasis></entry> | |
<entry>one char right, but not further than the end of | |
segment</entry> | |
</row> | |
<row> | |
<entry><emphasis role="bold">Ctrl+Left: </emphasis></entry> | |
<entry>one word left, but not further than the beginning of | |
segment</entry> | |
</row> | |
<row> | |
<entry><emphasis role="bold">Ctrl+Right: </emphasis></entry> | |
<entry>one word right, but not further than the end of | |
segment</entry> | |
</row> | |
<row> | |
<entry><emphasis role="bold">PgUp: </emphasis></entry> | |
<entry>page up through the document</entry> | |
</row> | |
<row> | |
<entry><emphasis role="bold">PgDn: </emphasis></entry> | |
<entry>page down through the document</entry> | |
</row> | |
<row> | |
<entry><emphasis role="bold">Home*</emphasis></entry> | |
<entry>move to the beginning of the line in the segment</entry> | |
</row> | |
<row> | |
<entry><emphasis role="bold">End*</emphasis></entry> | |
<entry>move to the end of the line in the segment</entry> | |
</row> | |
<row> | |
<entry><emphasis role="bold">Ctrl+Home</emphasis></entry> | |
<entry>move to the start of the segment</entry> | |
</row> | |
<row> | |
<entry><emphasis role="bold">Ctrl+End</emphasis></entry> | |
<entry>move to the end of the segment</entry> | |
</row> | |
<row> | |
<entry><emphasis role="bold">Ctrl+PgUp</emphasis></entry> | |
<entry>move to the start of the document (Mac: <emphasis | |
role="bold">Cmd+PgUp</emphasis>)</entry> | |
</row> | |
<row> | |
<entry><emphasis role="bold">Ctrl+PgDn</emphasis></entry> | |
<entry>move to the end of the document (Mac: <emphasis | |
role="bold">Cmd+PgDn</emphasis>)</entry> | |
</row> | |
<row> | |
<entry><emphasis role="bold">Backspace*</emphasis></entry> | |
<entry>remove char before cursor</entry> | |
</row> | |
<row> | |
<entry><emphasis role="bold">Delete*</emphasis></entry> | |
<entry>remove char after cursor</entry> | |
</row> | |
<row> | |
<entry><emphasis role="bold">Ctrl+Backspace</emphasis></entry> | |
<entry>remove chars up to the start of the current word (Mac: | |
<emphasis role="bold">Alt+Backspace</emphasis>)</entry> | |
</row> | |
<row> | |
<entry><emphasis role="bold">Ctrl+Delete</emphasis></entry> | |
<entry>remove chars up to the start of next word (Mac: <emphasis | |
role="bold">Alt+Delete</emphasis>)</entry> | |
</row> | |
<row> | |
<entry><emphasis role="bold">Ctrl+Enter</emphasis></entry> | |
<entry>open previous segment (Mac: <emphasis | |
role="bold">Cmd+Enter</emphasis>)</entry> | |
</row> | |
<row> | |
<entry><emphasis role="bold">Ctrl+A</emphasis></entry> | |
<entry>select complete segment (Mac: <emphasis | |
role="bold">Cmd+A</emphasis>)</entry> | |
</row> | |
<row> | |
<entry><emphasis role="bold">Ctrl+Shift+O</emphasis></entry> | |
<entry>RTL-LTR switch</entry> | |
</row> | |
<row> | |
<entry><emphasis role="bold">Ctrl+Space</emphasis></entry> | |
<entry>open a dialog box with contextual suggestions (Mac: <emphasis | |
role="bold">Esc</emphasis>). Use <emphasis | |
role="bold">Ctrl+PgUp/PgDn</emphasis> (Cmd+PgUp/PgDn on Mac) to | |
switch successively from <emphasis>Glossaries entries</emphasis>, | |
<emphasis>Auto-text entries,</emphasis> <emphasis>Missing | |
tags</emphasis> and <emphasis>Character table</emphasis> | |
options.</entry> | |
</row> | |
</tbody> | |
</tgroup> | |
</table> | |
<para>* These keys behave differently when the cursor is outside the | |
editable segment:</para> | |
<itemizedlist> | |
<listitem> | |
<para><emphasis role="bold">Home: </emphasis> cursor to the beginning of | |
the active segment</para> | |
</listitem> | |
<listitem> | |
<para><emphasis role="bold">End: </emphasis> cursor to the end of the | |
active segment</para> | |
</listitem> | |
<listitem> | |
<para><emphasis role="bold">Backspace: </emphasis>nothing</para> | |
</listitem> | |
<listitem> | |
<para><emphasis role="bold">Delete: </emphasis>nothing</para> | |
</listitem> | |
<listitem> | |
<para><emphasis role="bold">Any char key,</emphasis> if clicked outside | |
editable segment, will be ignored.</para> | |
</listitem> | |
</itemizedlist> | |
<para>The "Shift" key doesn't exhibit any special behavior per se: when the | |
"Shift" key is pressed, all keys move the cursor in their usual manner, | |
except in the case of the <literal>Shift+Enter</literal> combination, that | |
inserts a line break into the text.</para> | |
<para>System-wide commands Select All (<keycap>Ctrl+A</keycap>), Paste | |
(<emphasis role="bold">Ctrl+V</emphasis>), Cut (<emphasis | |
role="bold">Ctrl+X</emphasis>), copy (<emphasis | |
role="bold">Ctrl+C)</emphasis>, Insert match <emphasis | |
role="bold">(Ctrl+I</emphasis>) and Insert source (<emphasis | |
role="bold">Ctrl+Shift+I</emphasis>) act in principle on the text within the | |
currently open segment only.</para> | |
<para>It is possible to move from one pane to another (for instance, from the | |
Editor to the Fuzzy Matches pane) using <keycap>Ctrl+Tab</keycap>. | |
<keycap>Ctrl+Shift+Tab</keycap> moves back to the previous pane. The | |
shortcuts <keycap>Ctrl+A</keycap> and <keycap>Ctrl+C</keycap> work | |
in panes, allowing to copy all or some of the information to the clipboard.</para> | |
<para>Note that you can reassign the shortcuts to your own preferences. See | |
<link linkend="ch04.shortcuts.customization">Appendix ShortCut | |
Customization</link></para> | |
</appendix> |