PageRenderTime 198ms CodeModel.GetById 179ms app.highlight 15ms RepoModel.GetById 1ms app.codeStats 0ms

/jEdit/tags/jedit-4-0-pre5/doc/users-guide/shortcuts.xml

#
XML | 739 lines | 724 code | 13 blank | 2 comment | 0 complexity | 807b10b3509b8ad4ce6614cb12fcaad6 MD5 | raw file
  1<!-- jEdit buffer-local properties: -->
  2<!-- :tabSize=1:indentSize=1:noTabs=true: -->
  3
  4<appendix id="shortcuts"><title>Keyboard Shortcuts</title>
  5 <para>
  6  This appendix documents the default set of keyboard shortcuts. They can
  7  be customized to suit your taste in the <guibutton>Shortcuts</guibutton>
  8  pane of the
  9  <guimenu>Utilities</guimenu>&gt;<guimenuitem>Global Options</guimenuitem>
 10  dialog box; see <xref linkend="global-opts" />.
 11 </para>
 12 <bridgehead renderas="sect1">Files</bridgehead>
 13  <para>
 14   For details, see <xref linkend="buffers" />,
 15   <xref linkend="views" /> and <xref linkend="files" />.
 16  </para>
 17  <informaltable frame="none">
 18   <tgroup cols="2">
 19    <colspec colnum="1" colwidth="2.2in" />
 20    <tbody>
 21     <row>
 22      <entry><keycombo><keycap>Control</keycap><keycap>N</keycap></keycombo></entry>
 23      <entry>New file.</entry>
 24     </row>
 25     <row>
 26      <entry><keycombo><keycap>Control</keycap><keycap>O</keycap></keycombo></entry>
 27      <entry>Open file.</entry>
 28     </row>
 29     <row>
 30      <entry><keycombo><keycap>Control</keycap><keycap>W</keycap></keycombo></entry>
 31      <entry>Close buffer.</entry>
 32     </row>
 33     <row>
 34      <entry><keycombo><keycap>Control</keycap><keycap>E</keycap></keycombo>
 35      <keycombo><keycap>Control</keycap><keycap>W</keycap></keycombo></entry>
 36      <entry>Close all buffers.</entry>
 37     </row>
 38     <row>
 39      <entry><keycombo><keycap>Control</keycap><keycap>S</keycap></keycombo></entry>
 40      <entry>Save buffer.</entry>
 41     </row>
 42     <row>
 43      <entry><keycombo><keycap>Control</keycap><keycap>E</keycap></keycombo>
 44      <keycombo><keycap>Control</keycap><keycap>S</keycap></keycombo></entry>
 45      <entry>Save all buffers.</entry>
 46     </row>
 47     <row>
 48      <entry><keycombo><keycap>Control</keycap><keycap>P</keycap></keycombo></entry>
 49      <entry>Print buffer.</entry>
 50     </row>
 51     <row>
 52      <entry><keycombo><keycap>Control</keycap><keycap>Page Up</keycap></keycombo></entry>
 53      <entry>Go to previous buffer.</entry>
 54     </row>
 55     <row>
 56      <entry><keycombo><keycap>Control</keycap><keycap>Page Down</keycap></keycombo></entry>
 57      <entry>Go to next buffer.</entry>
 58     </row>
 59     <row>
 60      <entry><keycombo><keycap>Control</keycap><keycap>`</keycap></keycombo></entry>
 61      <entry>Go to recent buffer.</entry>
 62     </row>
 63     <row>
 64      <entry><keycombo><keycap>Control</keycap><keycap>Q</keycap></keycombo></entry>
 65      <entry>Exit jEdit.</entry>
 66     </row>
 67    </tbody>
 68   </tgroup>
 69  </informaltable>
 70
 71 <bridgehead renderas="sect1">Views</bridgehead>
 72  <para>
 73   For details, see <xref linkend="views" />.
 74  </para>
 75  <informaltable frame="none">
 76   <tgroup cols="2">
 77    <colspec colnum="1" colwidth="2.2in" />
 78    <tbody>
 79     <row>
 80      <entry><keycombo><keycap>Control</keycap><keycap>E</keycap></keycombo>
 81      <keycombo><keycap>Control</keycap><keycap>T</keycap></keycombo></entry>
 82      <entry>Turn gutter (line numbering) on and off.</entry>
 83     </row>
 84     <row>
 85      <entry><keycombo><keycap>Control</keycap><keycap>2</keycap></keycombo></entry>
 86      <entry>Split view horizontally.</entry>
 87     </row>
 88     <row>
 89      <entry><keycombo><keycap>Control</keycap><keycap>3</keycap></keycombo></entry>
 90      <entry>Split view vertically.</entry>
 91     </row>
 92     <row>
 93      <entry><keycombo><keycap>Control</keycap><keycap>1</keycap></keycombo></entry>
 94      <entry>Unsplit.</entry>
 95     </row>
 96     <row>
 97      <entry><keycombo><keycap>Alt</keycap><keycap>Page Up</keycap></keycombo></entry>
 98      <entry>Go to previous text area.</entry>
 99     </row>
100     <row>
101      <entry><keycombo><keycap>Alt</keycap><keycap>Page Down</keycap></keycombo></entry>
102      <entry>Go to next text area.</entry>
103     </row>
104     <row>
105      <entry><keycombo><keycap>Control</keycap><keycap>E</keycap></keycombo>
106      <keycap>1</keycap>; <keycap>2</keycap>; <keycap>3</keycap>;
107      <keycap>4</keycap></entry>
108      <entry>Close top; bottom; left; right docking area.</entry>
109     </row>
110    </tbody>
111   </tgroup>
112  </informaltable>
113
114 <bridgehead renderas="sect1">Repeating</bridgehead>
115  <para>
116   For details, see <xref linkend="repeat" />.
117  </para>
118  <informaltable frame="none">
119   <tgroup cols="2">
120    <colspec colnum="1" colwidth="2.2in" />
121    <tbody>
122     <row>
123      <entry><keycombo><keycap>Control</keycap><keycap>Enter</keycap></keycombo>
124      <keycap><replaceable>number</replaceable></keycap>
125      <keycap><replaceable>command</replaceable></keycap></entry>
126      <entry>Repeat the command (it can be a keystroke, menu item selection or
127      tool bar click) the specified number of times.
128      </entry>
129     </row>
130    </tbody>
131   </tgroup>
132  </informaltable>
133
134 <bridgehead renderas="sect1">Moving the Caret</bridgehead>
135  <para>
136   For details, see <xref linkend="caret" />, <xref linkend="words" />,
137   <xref linkend="lines" />, <xref linkend="paragraphs" /> and
138   <xref linkend="bracket-matching" />.
139  </para>
140  <informaltable frame="none">
141   <tgroup cols="2">
142    <colspec colnum="1" colwidth="2.2in" />
143    <tbody>
144     <row>
145      <entry><keycap><replaceable>Arrow</replaceable></keycap></entry>
146      <entry>Move caret one character or line.</entry>
147     </row>
148     <row>
149      <entry><keycombo><keycap>Control</keycap>
150      <keycap><replaceable>Arrow</replaceable></keycap></keycombo></entry>
151      <entry>Move caret one word or paragraph.</entry>
152     </row>
153     <row>
154      <entry><keycap>Page Up</keycap>; <keycap>Page Down</keycap></entry>
155      <entry>Move caret one screenful.</entry>
156     </row>
157     <row>
158      <entry><keycap>Home</keycap></entry>
159      <entry>First non-whitespace character of line, beginning of line,
160      first visible line (repeated presses).</entry>
161     </row>
162     <row>
163      <entry><keycap>End</keycap></entry>
164      <entry>Last non-whitespace character of line, end of line,
165      last visible line (repeated presses).</entry>
166     </row>
167     <row>
168      <entry><keycombo><keycap>Control</keycap><keycap>Home</keycap></keycombo></entry>
169      <entry>Beginning of buffer.</entry>
170     </row>
171     <row>
172      <entry><keycombo><keycap>Control</keycap><keycap>End</keycap></keycombo></entry>
173      <entry>End of buffer.</entry>
174     </row>
175     <row>
176      <entry><keycombo><keycap>Control</keycap><keycap>]</keycap></keycombo></entry>
177      <entry>Go to matching bracket.</entry>
178     </row>
179     <row>
180      <entry><keycombo><keycap>Control</keycap><keycap>E</keycap></keycombo>
181      <keycap>[</keycap>; <keycap>]</keycap></entry>
182      <entry>Go to previous; next bracket.</entry>
183     </row>
184     <row>
185      <entry><keycombo><keycap>Control</keycap><keycap>L</keycap></keycombo></entry>
186      <entry>Go to line.</entry>
187     </row>
188    </tbody>
189   </tgroup>
190  </informaltable>
191
192 <bridgehead renderas="sect1">Selecting Text</bridgehead>
193  <para>
194   For details, see <xref linkend="selection" />, <xref linkend="words" />,
195   <xref linkend="lines" />, <xref linkend="paragraphs" /> and
196   <xref linkend="bracket-matching" />.
197  </para>
198  <informaltable frame="none">
199   <tgroup cols="2">
200    <colspec colnum="1" colwidth="2.2in" />
201    <tbody>
202     <row>
203      <entry><keycombo><keycap>Shift</keycap>
204      <keycap><replaceable>Arrow</replaceable></keycap></keycombo></entry>
205      <entry>Extend selection by one character or line.</entry>
206     </row>
207     <row>
208      <entry><keycombo><keycap>Control</keycap> <keycap>Shift</keycap>
209      <keycap><replaceable>Arrow</replaceable></keycap></keycombo></entry>
210      <entry>Extend selection by one word or paragraph.</entry>
211     </row>
212     <row>
213      <entry><keycombo><keycap>Shift</keycap><keycap>Page Up</keycap></keycombo>;
214      <keycombo><keycap>Shift</keycap><keycap>Page Down</keycap></keycombo></entry>
215      <entry>Extend selection by one screenful.</entry>
216     </row>
217     <row>
218      <entry><keycombo><keycap>Shift</keycap><keycap>Home</keycap></keycombo></entry>
219      <entry>Extend selection to first non-whitespace character of line,
220      beginning of line,
221      first visible line (repeated presses).</entry>
222     </row>
223     <row>
224      <entry><keycombo><keycap>Shift</keycap><keycap>End</keycap></keycombo></entry>
225      <entry>Extend selection to last non-whitespace character of line,
226      end of line,
227      last visible line (repeated presses).</entry>
228     </row>
229     <row>
230      <entry><keycombo><keycap>Control</keycap><keycap>Shift</keycap>
231      <keycap>Home</keycap></keycombo></entry>
232      <entry>Extend selection to beginning of buffer.</entry>
233     </row>
234     <row>
235      <entry><keycombo><keycap>Control</keycap><keycap>Shift</keycap>
236      <keycap>End</keycap></keycombo></entry>
237      <entry>Extend selection to end of buffer.</entry>
238     </row>
239     <row>
240      <entry><keycombo><keycap>Control</keycap><keycap>[</keycap></keycombo></entry>
241      <entry>Select code block.</entry>
242     </row>
243     <row>
244      <entry><keycombo><keycap>Control</keycap><keycap>E</keycap></keycombo>
245      <keycap>W</keycap>; <keycap>L</keycap>; <keycap>P</keycap></entry>
246      <entry>Select word; line; paragraph.</entry>
247     </row>
248     <row>
249      <entry><keycombo><keycap>Control</keycap><keycap>E</keycap></keycombo>
250      <keycombo><keycap>Control</keycap><keycap>L</keycap></keycombo></entry>
251      <entry>Select line range.</entry>
252     </row>
253     <row>
254      <entry><keycombo><keycap>Control</keycap><keycap>\</keycap></keycombo>
255      </entry>
256      <entry>Switch between single and multiple selection mode.</entry>
257     </row>
258    </tbody>
259   </tgroup>
260  </informaltable>
261
262 <bridgehead renderas="sect1">Scrolling</bridgehead>
263  <para>
264   For details, see <xref linkend="views" />.
265  </para>
266  <informaltable frame="none">
267   <tgroup cols="2">
268    <colspec colnum="1" colwidth="2.2in" />
269    <tbody>
270     <row>
271      <entry><keycombo><keycap>Control</keycap><keycap>E</keycap></keycombo>
272      <keycombo><keycap>Control</keycap><keycap>J</keycap></keycombo></entry>
273      <entry>Center current line on screen.</entry>
274     </row>
275     <row>
276      <entry><keycombo><keycap>Control</keycap><keycap>E</keycap></keycombo>
277      <keycombo><keycap>Control</keycap><keycap>I</keycap></keycombo></entry>
278      <entry>Center caret on screen.</entry>
279     </row>
280     <row>
281      <entry><keycombo><keycap>Control</keycap><keycap>'</keycap></keycombo>;
282      <keycombo><keycap>Control</keycap><keycap>/</keycap></keycombo></entry>
283      <entry>Scroll up; down one line.</entry>
284     </row>
285     <row>
286      <entry><keycombo><keycap>Alt</keycap><keycap>'</keycap></keycombo>;
287      <keycombo><keycap>Alt</keycap><keycap>/</keycap></keycombo></entry>
288      <entry>Scroll up; down one page.</entry>
289     </row>
290    </tbody>
291   </tgroup>
292  </informaltable>
293
294 <bridgehead renderas="sect1">Text Editing</bridgehead>
295  <para>
296   For details, see <xref linkend="undo-redo" />, <xref linkend="entering-text" />,
297   <xref linkend="words" />, <xref linkend="lines" /> and <xref linkend="paragraphs" />.
298  </para>
299  <informaltable frame="none">
300   <tgroup cols="2">
301    <colspec colnum="1" colwidth="2.2in" />
302    <tbody>
303     <row>
304      <entry><keycombo><keycap>Control</keycap><keycap>Z</keycap></keycombo></entry>
305      <entry>Undo.</entry>
306     </row>
307     <row>
308      <entry><keycombo><keycap>Control</keycap><keycap>E</keycap></keycombo>
309      <keycombo><keycap>Control</keycap><keycap>Z</keycap></keycombo></entry>
310      <entry>Redo.</entry>
311     </row>
312     <row>
313      <entry><keycap>Backspace</keycap>; <keycap>Delete</keycap></entry>
314      <entry>Delete character before; after caret.</entry>
315     </row>
316     <row>
317      <entry><keycombo><keycap>Control</keycap><keycap>Backspace</keycap></keycombo>;
318      <keycombo><keycap>Control</keycap><keycap>Delete</keycap></keycombo></entry>
319      <entry>Delete word before; after caret.</entry>
320     </row>
321     <row>
322      <entry><keycombo><keycap>Control</keycap><keycap>D</keycap></keycombo>;
323      <keycombo><keycap>Control</keycap><keycap>E</keycap></keycombo> <keycap>D</keycap>
324      </entry>
325      <entry>Delete line; paragraph.</entry>
326     </row>
327     <row>
328      <entry><keycombo><keycap>Shift</keycap><keycap>Backspace</keycap></keycombo>;
329      <keycombo><keycap>Shift</keycap><keycap>Delete</keycap></keycombo></entry>
330      <entry>Delete from caret to beginning; end of line.</entry>
331     </row>
332     <row>
333      <entry><keycombo><keycap>Control</keycap><keycap>E</keycap></keycombo>
334      <keycap>R</keycap></entry>
335      <entry>Remove trailing whitespace from the current line (or all
336      selected lines).</entry>
337     </row>
338     <row>
339      <entry><keycombo><keycap>Control</keycap><keycap>J</keycap></keycombo></entry>
340      <entry>Join lines.</entry>
341     </row>
342     <row>
343      <entry><keycombo><keycap>Control</keycap><keycap>B</keycap></keycombo></entry>
344      <entry>Complete word.</entry>
345     </row>
346     <row>
347      <entry><keycombo><keycap>Control</keycap><keycap>E</keycap></keycombo>
348      <keycap>F</keycap></entry>
349      <entry>Format paragraph (or selection).</entry>
350     </row>
351    </tbody>
352   </tgroup>
353  </informaltable>
354
355 <bridgehead renderas="sect1">Clipboard and Registers</bridgehead>
356  <para>
357   For details, see <xref linkend="text-transfer" />.
358  </para>
359  <informaltable frame="none">
360   <tgroup cols="2">
361    <colspec colnum="1" colwidth="2.2in" />
362    <tbody>
363     <row>
364      <entry><keycombo><keycap>Control</keycap><keycap>X</keycap></keycombo></entry>
365      <entry>Cut selected text to clipboard.</entry>
366     </row>
367     <row>
368      <entry><keycombo><keycap>Control</keycap><keycap>C</keycap></keycombo></entry>
369      <entry>Copy selected text to clipboard.</entry>
370     </row>
371     <row>
372      <entry><keycombo><keycap>Control</keycap><keycap>E</keycap></keycombo>
373      <keycombo><keycap>Control</keycap><keycap>U</keycap></keycombo></entry>
374      <entry>Append selected text to clipboard, removing it from the
375      buffer.</entry>
376     </row>
377     <row>
378      <entry><keycombo><keycap>Control</keycap><keycap>E</keycap></keycombo>
379      <keycombo><keycap>Control</keycap><keycap>A</keycap></keycombo></entry>
380      <entry>Append selected text to clipboard, leaving it in the
381      buffer.</entry>
382     </row>
383     <row>
384      <entry><keycombo><keycap>Control</keycap><keycap>V</keycap></keycombo></entry>
385      <entry>Paste clipboard contents.</entry>
386     </row>
387     <row>
388      <entry><keycombo><keycap>Control</keycap><keycap>R</keycap></keycombo>
389      <keycombo><keycap>Control</keycap><keycap>X</keycap>
390      </keycombo>
391      <keycap><replaceable>key</replaceable></keycap></entry>
392      <entry>Cut selected text to register <replaceable>key</replaceable>.</entry>
393     </row>
394     <row>
395      <entry><keycombo><keycap>Control</keycap><keycap>R</keycap></keycombo>
396      <keycombo><keycap>Control</keycap><keycap>C</keycap>
397      </keycombo>
398      <keycap><replaceable>key</replaceable></keycap></entry>
399      <entry>Copy selected text to register <replaceable>key</replaceable>.</entry>
400     </row>
401     <row>
402      <entry><keycombo><keycap>Control</keycap><keycap>R</keycap></keycombo>
403      <keycombo><keycap>Control</keycap><keycap>U</keycap>
404      </keycombo>
405      <keycap><replaceable>key</replaceable></keycap></entry>
406      <entry>Append selected text to register <replaceable>key</replaceable>,
407      removing it from the buffer.</entry>
408     </row>
409     <row>
410      <entry><keycombo><keycap>Control</keycap><keycap>R</keycap></keycombo>
411      <keycombo><keycap>Control</keycap><keycap>A</keycap>
412      </keycombo>
413      <keycap><replaceable>key</replaceable></keycap></entry>
414      <entry>Append selected text to register <replaceable>key</replaceable>,
415      leaving it in the buffer.</entry>
416     </row>
417     <row>
418      <entry><keycombo><keycap>Control</keycap><keycap>R</keycap></keycombo>
419      <keycombo><keycap>Control</keycap><keycap>V</keycap>
420      </keycombo>
421      <keycap><replaceable>key</replaceable></keycap></entry>
422      <entry>Paste contents of register <replaceable>key</replaceable>.</entry>
423     </row>
424     <row>
425      <entry><keycombo><keycap>Control</keycap><keycap>E</keycap></keycombo>
426      <keycombo><keycap>Control</keycap><keycap>V</keycap>
427      </keycombo></entry>
428      <entry>Paste previous.</entry>
429     </row>
430    </tbody>
431   </tgroup>
432  </informaltable>
433
434 <bridgehead renderas="sect1">Markers</bridgehead>
435  <para>
436   For details, see <xref linkend="markers" />.
437  </para>
438  <informaltable frame="none">
439   <tgroup cols="2">
440    <colspec colnum="1" colwidth="2.2in" />
441    <tbody>
442     <row>
443      <entry><keycombo><keycap>Control</keycap><keycap>E</keycap></keycombo>
444      <keycombo><keycap>Control</keycap><keycap>M</keycap></keycombo></entry>
445      <entry>If current line doesn't contain a marker, one will be added.
446      Otherwise, the existing marker will be removed.
447      Use the <guimenu>Markers</guimenu> menu to return to markers added
448      in this manner.</entry>
449     </row>
450     <row>
451      <entry><keycombo><keycap>Control</keycap><keycap>T</keycap>
452      </keycombo>
453      <keycap><replaceable>key</replaceable></keycap></entry>
454      <entry>Add marker with shortcut <replaceable>key</replaceable>.</entry>
455     </row>
456     <row>
457      <entry><keycombo><keycap>Control</keycap><keycap>Y</keycap>
458      </keycombo>
459      <keycap><replaceable>key</replaceable></keycap></entry>
460      <entry>Go to marker with shortcut <replaceable>key</replaceable>.</entry>
461     </row>
462     <row>
463      <entry><keycombo><keycap>Control</keycap><keycap>U</keycap>
464      </keycombo>
465      <keycap><replaceable>key</replaceable></keycap></entry>
466      <entry>Select to marker with shortcut <replaceable>key</replaceable>.</entry>
467     </row>
468     <row>
469      <entry><keycombo><keycap>Control</keycap><keycap>K</keycap>
470      </keycombo>
471      <keycap><replaceable>key</replaceable></keycap></entry>
472      <entry>Go to marker with shortcut <replaceable>key</replaceable>, and
473      move the marker to the previous caret position.</entry>
474     </row>
475     <row>
476      <entry><keycombo><keycap>Control</keycap><keycap>E</keycap></keycombo>
477      <keycombo><keycap>Control</keycap> <keycap>,</keycap></keycombo>;
478      <keycombo><keycap>Control</keycap><keycap>.</keycap></keycombo></entry>
479      <entry>Move caret to previous; next marker.</entry>
480     </row>
481    </tbody>
482   </tgroup>
483  </informaltable>
484
485 <bridgehead renderas="sect1">Search and Replace</bridgehead>
486  <para>
487   For details, see <xref linkend="search-replace" />.
488  </para>
489  <informaltable frame="none">
490   <tgroup cols="2">
491    <colspec colnum="1" colwidth="2.2in" />
492    <tbody>
493     <row>
494      <entry><keycombo><keycap>Control</keycap><keycap>F</keycap></keycombo></entry>
495      <entry>Open search and replace dialog box.</entry>
496     </row>
497     <row>
498      <entry><keycombo><keycap>Control</keycap><keycap>G</keycap></keycombo></entry>
499      <entry>Find next.</entry>
500     </row>
501     <row>
502      <entry><keycombo><keycap>Control</keycap><keycap>H</keycap></keycombo></entry>
503      <entry>Find previous.</entry>
504     </row>
505     <row>
506      <entry><keycombo><keycap>Control</keycap><keycap>E</keycap></keycombo>
507      <keycombo><keycap>Control</keycap><keycap>B</keycap></keycombo></entry>
508      <entry>Search in open buffers.</entry>
509     </row>
510     <row>
511      <entry><keycombo><keycap>Control</keycap><keycap>E</keycap></keycombo>
512      <keycombo><keycap>Control</keycap><keycap>D</keycap></keycombo></entry>
513      <entry>Search in directory.</entry>
514     </row>
515     <row>
516      <entry><keycombo><keycap>Control</keycap><keycap>E</keycap></keycombo>
517      <keycombo><keycap>Control</keycap><keycap>R</keycap></keycombo></entry>
518      <entry>Replace in selection.</entry>
519     </row>
520     <row>
521      <entry><keycombo><keycap>Control</keycap><keycap>E</keycap></keycombo>
522      <keycombo><keycap>Control</keycap><keycap>G</keycap></keycombo></entry>
523      <entry>Replace in selection and find next.</entry>
524     </row>
525     <row>
526      <entry><keycombo><keycap>Control</keycap><keycap>,</keycap></keycombo></entry>
527      <entry>Incremental search.</entry>
528     </row>
529     <row>
530      <entry><keycombo><keycap>Control</keycap><keycap>.</keycap></keycombo></entry>
531      <entry>Quick HyperSearch.</entry>
532     </row>
533     <row>
534      <entry><keycombo><keycap>Alt</keycap><keycap>,</keycap></keycombo></entry>
535      <entry>Incremental search for word under the caret.</entry>
536     </row>
537     <row>
538      <entry><keycombo><keycap>Alt</keycap><keycap>.</keycap></keycombo></entry>
539      <entry>Quick HyperSearch for word under the caret.</entry>
540     </row>
541    </tbody>
542   </tgroup>
543  </informaltable>
544
545 <bridgehead renderas="sect1">Source Code Editing</bridgehead>
546  <para>
547   For details, see <xref linkend="abbrevs" />, <xref linkend="indent" />
548   and <xref linkend="commenting" />.
549  </para>
550  <informaltable frame="none">
551   <tgroup cols="2">
552    <colspec colnum="1" colwidth="2.2in" />
553    <tbody>
554     <row>
555      <entry><keycombo><keycap>Control</keycap><keycap>;</keycap></keycombo></entry>
556      <entry>Expand abbreviation.</entry>
557     </row>
558     <row>
559      <entry><keycombo><keycap>Alt</keycap><keycap>Left</keycap></keycombo>;
560      <keycombo><keycap>Alt</keycap><keycap>Right</keycap></keycombo></entry>
561      <entry>Shift current line (or all
562      selected lines) left; right.
563      </entry>
564     </row>
565     <row>
566      <entry><keycombo><keycap>Shift</keycap><keycap>Tab</keycap></keycombo>;
567      <keycap>Tab</keycap></entry>
568      <entry>Shift selected lines left; right. Note that pressing
569      <keycap>Tab</keycap> with no selection active will insert a tab
570      character at the caret position.
571      </entry>
572     </row>
573     <row>
574      <entry><keycombo><keycap>Control</keycap><keycap>I</keycap></keycombo></entry>
575      <entry>Indent current line (or all
576      selected lines).</entry>
577     </row>
578     <row>
579      <entry><keycombo><keycap>Control</keycap><keycap>E</keycap></keycombo>
580      <keycombo><keycap>Control</keycap><keycap>C</keycap></keycombo></entry>
581      <entry>Wing comment selection.</entry>
582     </row>
583     <row>
584      <entry><keycombo><keycap>Control</keycap><keycap>E</keycap></keycombo>
585      <keycombo><keycap>Control</keycap><keycap>B</keycap></keycombo></entry>
586      <entry>Box comment selection.</entry>
587     </row>
588    </tbody>
589   </tgroup>
590  </informaltable>
591
592 <bridgehead renderas="sect1">Folding and Narrowing</bridgehead>
593  <para>
594   For details, see <xref linkend="folding" /> and <xref linkend="narrowing" />.
595  </para>
596  <informaltable frame="none">
597   <tgroup cols="2">
598    <colspec colnum="1" colwidth="2.2in" />
599    <tbody>
600     <row>
601      <entry><keycombo><keycap>Alt</keycap><keycap>Backspace</keycap></keycombo></entry>
602      <entry>Collapse fold containing caret.</entry>
603     </row>
604     <row>
605      <entry><keycombo><keycap>Alt</keycap><keycap>Enter</keycap></keycombo></entry>
606      <entry>Expand fold containing caret one level only.</entry>
607     </row>
608     <row>
609      <entry><keycombo><keycap>Alt</keycap><keycap>Shift</keycap><keycap>Enter</keycap></keycombo></entry>
610      <entry>Expand fold containing caret fully.</entry>
611     </row>
612     <row>
613      <entry><keycombo><keycap>Control</keycap><keycap>E</keycap></keycombo>
614      <keycap>X</keycap></entry>
615      <entry>Expand all folds.
616      </entry>
617     </row>
618     <row>
619      <entry><keycombo><keycap>Control</keycap><keycap>E</keycap></keycombo>
620      <keycap>A</keycap></entry>
621      <entry>Add explicit fold.
622      </entry>
623     </row>
624     <row>
625      <entry><keycombo><keycap>Control</keycap><keycap>E</keycap></keycombo>
626      <keycap>S</keycap></entry>
627      <entry>Select fold.
628      </entry>
629     </row>
630     <row>
631      <entry><keycombo><keycap>Control</keycap><keycap>E</keycap></keycombo>
632      <keycap>Enter</keycap> <keycap><replaceable>key</replaceable></keycap>
633      </entry>
634      <entry>Expand folds with level less than <replaceable>key</replaceable>,
635      collapse all others.
636      </entry>
637     </row>
638     <row>
639      <entry><keycombo><keycap>Control</keycap><keycap>E</keycap></keycombo>
640      <keycap>N</keycap> <keycap>N</keycap></entry>
641      <entry>Narrow to fold.
642      </entry>
643     </row>
644     <row>
645      <entry><keycombo><keycap>Control</keycap><keycap>E</keycap></keycombo>
646      <keycap>N</keycap> <keycap>S</keycap></entry>
647      <entry>Narrow to selection.
648      </entry>
649     </row>
650     <row>
651      <entry><keycombo><keycap>Alt</keycap><keycap>Up</keycap></keycombo>
652      <keycombo><keycap>Alt</keycap><keycap>Down</keycap></keycombo></entry>
653      <entry>Moves caret to previous; next fold.
654      </entry>
655     </row>
656     <row>
657      <entry><keycombo><keycap>Control</keycap><keycap>E</keycap></keycombo>
658      <keycap>U</keycap></entry>
659      <entry>Moves caret to the fold containing the one at the caret position.
660      </entry>
661     </row>
662    </tbody>
663   </tgroup>
664  </informaltable>
665
666 <bridgehead renderas="sect1">Macros</bridgehead>
667  <para>
668   For details, see <xref linkend="using-macros" />.
669  </para>
670  <informaltable frame="none">
671   <tgroup cols="2">
672    <colspec colnum="1" colwidth="2.2in" />
673    <tbody>
674     <row>
675      <entry><keycombo><keycap>Control</keycap><keycap>M</keycap></keycombo>
676      <keycombo><keycap>Control</keycap><keycap>R</keycap></keycombo></entry>
677      <entry>Record macro.</entry>
678     </row>
679     <row>
680      <entry><keycombo><keycap>Control</keycap><keycap>M</keycap></keycombo>
681      <keycombo><keycap>Control</keycap><keycap>M</keycap></keycombo></entry>
682      <entry>Record temporary macro.</entry>
683     </row>
684     <row>
685      <entry><keycombo><keycap>Control</keycap><keycap>M</keycap></keycombo>
686      <keycombo><keycap>Control</keycap><keycap>S</keycap></keycombo></entry>
687      <entry>Stop recording.</entry>
688     </row>
689     <row>
690      <entry><keycombo><keycap>Control</keycap><keycap>M</keycap></keycombo>
691      <keycombo><keycap>Control</keycap><keycap>P</keycap></keycombo></entry>
692      <entry>Run temporary macro.</entry>
693     </row>
694     <row>
695      <entry><keycombo><keycap>Control</keycap><keycap>M</keycap></keycombo>
696      <keycombo><keycap>Control</keycap><keycap>L</keycap></keycombo></entry>
697      <entry>Run most recently played or recorded macro.</entry>
698     </row>
699    </tbody>
700   </tgroup>
701  </informaltable>
702 <bridgehead renderas="sect1">Alternative Shortcuts</bridgehead>
703  <para>
704   A few frequently-used commands have alternative shortcuts intended to
705   help you keep your hands from moving all over the keyboard.
706  </para>
707  <informaltable frame="none">
708   <tgroup cols="2">
709    <colspec colnum="1" colwidth="2.2in" />
710    <tbody>
711     <row>
712      <entry><keycombo><keycap>Alt</keycap><keycap>J</keycap></keycombo>;
713      <keycombo><keycap>Alt</keycap><keycap>L</keycap></keycombo></entry>
714      <entry>Move caret to previous, next character.</entry>
715     </row>
716     <row>
717      <entry><keycombo><keycap>Alt</keycap><keycap>I</keycap></keycombo>;
718      <keycombo><keycap>Alt</keycap><keycap>K</keycap></keycombo></entry>
719      <entry>Move caret up, down one line.</entry>
720     </row>
721     <row>
722      <entry><keycombo><keycap>Alt</keycap><keycap>Q</keycap></keycombo>;
723      <keycombo><keycap>Alt</keycap><keycap>A</keycap></keycombo></entry>
724      <entry>Move caret up, down one screenful.</entry>
725     </row>
726     <row>
727      <entry><keycombo><keycap>Alt</keycap><keycap>Z</keycap></keycombo></entry>
728      <entry>First non-whitespace character of line, beginning of line,
729      first visible line (repeated presses).</entry>
730     </row>
731     <row>
732      <entry><keycombo><keycap>Alt</keycap><keycap>X</keycap></keycombo></entry>
733      <entry>Last non-whitespace character of line, end of line,
734      last visible line (repeated presses).</entry>
735     </row>
736    </tbody>
737   </tgroup>
738  </informaltable>
739</appendix>