keys.html 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Orion - Key Settings</title>
  5. <link rel="StyleSheet" href="doc.css" type="text/css" media="screen"/>
  6. <link rel="StyleSheet" href="docprint.css" type="text/css" media="print"/>
  7. <script type="text/javascript" src="../js/jquery.js"></script>
  8. <script type="text/javascript" src="../js/stripe.js"></script>
  9. </head>
  10. <body>
  11. <div id="page">
  12. <div id="menu">
  13. <ul>
  14. <li><a href="index.html">Index</a></li>
  15. <li><a href="admin.html">Installation and Administration</a></li>
  16. <li><a href="index.html#RunApplet"><b>Orion</b> as a Java Applet</a></li>
  17. <li><a href="index.html#RunApplication"><b>Orion</b> as a Java Application</a></li>
  18. <li>Key Mappings</li>
  19. <!--
  20. <li><a href="bugparade.html">Bug Parade</a></li>
  21. -->
  22. <li><a href="licenses.html">Licenses</a></li>
  23. </ul>
  24. </div>
  25. <div id="content">
  26. <h1>Orion - Key Settings</h1>
  27. <p>Most key setting are different depending on which type of screen is being displayed.</p>
  28. <h2>Global Keys</h2>
  29. <p> There are a few operations that can be done anywhere whilst running Orion.</p>
  30. <table cellspacing="0" summary="Global Keys" class="ot striped">
  31. <thead>
  32. <tr>
  33. <th>Key</th>
  34. <th>Meaning</th>
  35. </tr>
  36. </thead>
  37. <tbody>
  38. <tr>
  39. <td>&lt;ESC&gt</td>
  40. <td>This key is a fundamental one that will take you to the previous display.</td>
  41. </tr>
  42. <tr>
  43. <td>&lt;CTRL-R&gt</td>
  44. <td>Take the view back to the Welcome screen..</td>
  45. </tr>
  46. </tbody>
  47. </table>
  48. <h2>Keys for Lists</h2>
  49. <p>The 2 types of this both behave the same as far as keys are concerned. The list is either of tokens, or of file names.</p>
  50. <table cellspacing="0" summary="Keys for Lists" class="ot striped">
  51. <thead>
  52. <tr>
  53. <th>Key</th>
  54. <th>Meaning</th>
  55. </tr>
  56. </thead>
  57. <tbody>
  58. <tr>
  59. <td>Down Arrow</td>
  60. <td>Select the next lower item in the list</td>
  61. </tr>
  62. <tr>
  63. <td>Up Arrow</td>
  64. <td>Select the next higher item in the list</td>
  65. </tr>
  66. <tr>
  67. <td>Page Down</td>
  68. <td>Move down 1 page in the list</td>
  69. </tr>
  70. <tr>
  71. <td>Page Up</td>
  72. <td>Move up 1 page in the list</td>
  73. </tr>
  74. <tr>
  75. <td>Enter</td>
  76. <td>Action the list item</td>
  77. </tr>
  78. <tr>
  79. <td>H</td>
  80. <td>Perform a Hunt operation.
  81. A line opens up for you to specify the new hunt string.</td>
  82. </tr>
  83. </tbody>
  84. </table>
  85. <h2>Keys for Files</h2>
  86. <p>All types of files have the same keys enabled.</p>
  87. <p>The keys mappings are modelled around the usual key mapping for the
  88. <em>vi</em> editor.
  89. However, since <a class="Orion">Orion</a> is <em>not</em> an editor, it is
  90. not completely vi compatible.
  91. For the majority of common movement operations, the usage is the same.</p>
  92. <table cellspacing="0" summary="Keys for Files" class="ot striped">
  93. <thead>
  94. <tr>
  95. <th>Key</th>
  96. <th>Meaning</th>
  97. </tr>
  98. </thead>
  99. <tbody>
  100. <tr>
  101. <td>Down&nbsp;Arrow</td>
  102. <td>Move the cursor down 1 line</td>
  103. </tr>
  104. <tr>
  105. <td>j</td>
  106. <td>Move the cursor down 1 line</td>
  107. </tr>
  108. <tr>
  109. <td>Up Arrow</td>
  110. <td>Move the cursor up 1 line</td>
  111. </tr>
  112. <tr>
  113. <td>k</td>
  114. <td>Move the cursor up 1 line</td>
  115. </tr>
  116. <tr>
  117. <td>Left Arrow</td>
  118. <td>Move the cursor left 1 character</td>
  119. </tr>
  120. <tr>
  121. <td>h</td>
  122. <td>Move the cursor left 1 character</td>
  123. </tr>
  124. <tr>
  125. <td>Right Arrow</td>
  126. <td>Move the cursor right 1 character</td>
  127. </tr>
  128. <tr>
  129. <td>l</td>
  130. <td>Move the cursor right 1 character</td>
  131. </tr>
  132. <tr>
  133. <td>Page Down</td>
  134. <td>Move down 1 page</td>
  135. </tr>
  136. <tr>
  137. <td>Ctrl+f</td>
  138. <td>Move down 1 page</td>
  139. </tr>
  140. <tr>
  141. <td>Page Up</td>
  142. <td>Move up 1 page</td>
  143. </tr>
  144. <tr>
  145. <td>Ctrl+b</td>
  146. <td>Move up 1 page</td>
  147. </tr>
  148. <tr>
  149. <td>Home</td>
  150. <td>Move to beginning of line</td>
  151. </tr>
  152. <tr>
  153. <td>0 (zero)</td>
  154. <td>Move to beginning of line</td>
  155. </tr>
  156. <tr>
  157. <td>End</td>
  158. <td>Move to end of line</td>
  159. </tr>
  160. <tr>
  161. <td>$</td>
  162. <td>Move to end of line</td>
  163. </tr>
  164. <tr>
  165. <td>Ctrl+Home</td>
  166. <td>Move to top of file</td>
  167. </tr>
  168. <tr>
  169. <td>Ctrl+Enter</td>
  170. <td>[Java Only} - If the cursor is on the Java declaration of a native method declaration, this does a
  171. 'Hunt' for the real native method name.</td>
  172. </tr>
  173. <tr>
  174. <td>Ctrl+End</td>
  175. <td>Move to bottom of file</td>
  176. </tr>
  177. <tr>
  178. <td>Enter</td>
  179. <td>Perform a 'Hunt' action on the symbol underneath the cursor.
  180. Note that this is only valid when the cursor is on a symbol,
  181. rather than a keyword, string, or any other type of character.</td>
  182. </tr>
  183. <tr>
  184. <td>%</td>
  185. <td>Perform a bracket match for the character under the cursor position.
  186. Note this is only valid when the cursor is on a bracket and the
  187. bracket is NOT inside a comment.
  188. For this purposes, brackets are the characters {}[]().</td>
  189. </tr>
  190. <tr>
  191. <td>H</td>
  192. <td>Perform a Hunt operation. A line opens up for you to specify the new hunt string.</td>
  193. </tr>
  194. <tr>
  195. <td>n</td>
  196. <td>Go to the next occurrence of the currently hunted token.</td>
  197. </tr>
  198. <tr>
  199. <td>p</td>
  200. <td>Go to the previous occurrence of the currently hunted token.</td>
  201. </tr>
  202. <tr>
  203. <td>/</td>
  204. <td>Find</td>
  205. </tr>
  206. <tr>
  207. <td>?</td>
  208. <td>Find Backwards.</td>
  209. </tr>
  210. <tr>
  211. <td>Ctrl+n</td>
  212. <td>Repeat last find forwards.</td>
  213. </tr>
  214. <tr>
  215. <td>Ctrl+p</td>
  216. <td>Repeat last find backwards.</td>
  217. </tr>
  218. <tr>
  219. <td>:</td>
  220. <td>Go to a specific line number.</td>
  221. </tr>
  222. <tr>
  223. <td>w</td>
  224. <td>Move forward to the next word.</td>
  225. </tr>
  226. <tr>
  227. <td>b</td>
  228. <td>Move backward to the previous word.</td>
  229. </tr>
  230. <tr>
  231. <td>Ctrl+s</td>
  232. <td>Open the current file in HTML format in a separate browser window.</td>
  233. </tr>
  234. </tbody>
  235. </table>
  236. </div>
  237. <div id="copyright">
  238. <p><a href="http://ruelgnoj.co.uk/">Copyright &#169; 1997,2017 by Steve Millington. All Rights Reserved.</a></p>
  239. </div>
  240. </div>
  241. </body>
  242. </html>