PageRenderTime 40ms CodeModel.GetById 12ms RepoModel.GetById 0ms app.codeStats 1ms

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

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