JAL-3992 shift+arrow to jump to next gap/residue in cursor/keyboard editing mode
[jalview.git] / help / help / html / features / cursorMode.html
1 <html>
2 <!--
3  * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
4  * Copyright (C) $$Year-Rel$$ The Jalview Authors
5  * 
6  * This file is part of Jalview.
7  * 
8  * Jalview is free software: you can redistribute it and/or
9  * modify it under the terms of the GNU General Public License 
10  * as published by the Free Software Foundation, either version 3
11  * of the License, or (at your option) any later version.
12  *  
13  * Jalview is distributed in the hope that it will be useful, but 
14  * WITHOUT ANY WARRANTY; without even the implied warranty 
15  * of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
16  * PURPOSE.  See the GNU General Public License for more details.
17  * 
18  * You should have received a copy of the GNU General Public License
19  * along with Jalview.  If not, see <http://www.gnu.org/licenses/>.
20  * The Jalview Authors are detailed in the 'AUTHORS' file.
21  -->
22 <head>
23 <title>Cursor Mode</title>
24 </head>
25 <body>
26   <p>
27     <strong>Cursor Mode</strong>
28   </p>
29   <p>Cursor mode is a new feature in Jalview 2.08, and allows more
30     precise selection and editing of alignments through the use of the
31     keyboard for both navigation and the input of editing and selection
32     commands.</p>
33   <p>
34     <em>F2</em> Toggles between normal and cursor editing modes. When in
35     cursor mode, a black cursor appears in the residue area of the
36     alignment, and any mouse clicks on that area will move the cursor to
37     that position (this means that the region selection menu is
38     unavailable in cursor mode).
39   </p>
40   <p>
41     <b>Navigation</b>
42   <ul>
43     <li><em>Cursor (Arrow) keys</em> - Move cursor around the alignment.<br/>
44     <em>Shift+Cursor key</em> - move to next gap or aligned residue</li>
45   </ul>
46   <ul>
47     <li><em>S</em> - Type a number x then press 'S' to jump to sequence x.</li>
48   </ul>
49   <ul>
50     <li><em>C</em> - Type a number x then press 'C' to jump to column x.</li>
51   </ul>
52   <ul>
53     <li><em>P</em> - Type a number x then press 'P' to jump to position x in
54       current sequence.</li>
55   </ul>
56   <ul>
57     <li>65,82&lt;return&gt; - Quick jump to column 65, sequence 82</li>
58   </ul>
59   </p>
60   <p>
61     <b>Defining Regions</b>
62   <ul>
63     <li><em>Q</em> - Define the top left corner of the selection area</li>
64   </ul>
65   <ul>
66     <li><em>M</em> - Define the bottom right corner of the selection area<br>
67     </li>
68   </ul>
69   <p>
70     <b>Editing The Alignment</b>
71   <ul>
72     <li><em>Space</em> - Insert a gap at the cursor position. <br> To
73       insert 12 spaces at the current cursor, type 12 before pressing
74       Space.<br> To group insert, hold control or shift together
75       with space.
76     </li>
77   </ul>
78   <ul>
79     <li><em>Delete (or backspace)</em> - Delete a gap at the cursor
80       position.<br> To delete 12 spaces at the current cursor, type
81       12 before pressing Delete (or backspace).<br> To group
82       delete, hold down control or shift together with Delete (or
83       backspace).
84     </li>
85   </ul>
86   <p>
87     Some keyboard operations are not available in keyboard mode. See <a
88       href="keys.html">the full list of keystrokes</a>.
89   </p>
90 </body>
91 </html>