3 * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
4 * Copyright (C) $$Year-Rel$$ The Jalview Authors
6 * This file is part of Jalview.
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.
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.
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.
23 <title>Key Strokes</title>
27 <strong>Key Strokes</strong>
30 Jalview has two distinct modes of keyboard operation - in 'Normal'
31 mode, single keystrokes (including those shown next to menu items)
32 provide short cuts to common commands. In <a
33 href="features/cursorMode.html"
34 >'Cursor'</a> mode (enabled by <em>F2</em>), some of these are
35 disabled and more complex 'Compound Keystrokes' can be entered to
36 perform precise navigation, selection and editing operations.
40 <td><strong>Key</strong></td>
41 <td><strong>Which Mode</strong></td>
42 <td><strong>Action</strong></td>
45 <td><strong>Escape</strong></td><td>Both</td>
46 <td>The Panic button.</td></tr>
49 <td><strong> Escape</strong></td>
51 <td>Clears the current selection region, highlighted columns
52 and highlghted residues.</td>
55 <td><strong>Escape</strong></td>
57 <td>As in normal mode, but also cancels any partially entered
61 <td><strong><em>F1</em></strong></td>
63 <td>Show Help Documentation</td>
66 <td><strong><em>F2</em></strong></td>
68 <td>Toggle Cursor mode on / off</td>
71 <td><strong>Control 'Z'</strong></td>
73 <td>Undoes the last sequence edit</td>
76 <td><strong>Control 'Y'</strong></td>
78 <td>Redo the last sequence edit undone.</td>
81 <td><strong>Up Arrow</strong></td>
83 <td>Moves selected sequence(s) up the alignment</td>
86 <td><strong>Down Arrow</strong></td>
88 <td>Moves selected sequence(s) down the alignment.</td>
91 <td><strong>Left Arrow</strong></td>
93 <td>Slides selected sequence(s) left. Press Alt key to slide
97 <td><strong>Right Arrow</strong></td>
99 <td>Slides selected sequence(s) right. Press Alt key to slide
103 <td><strong>Cursor Keys<br> (Arrow Keys)
106 <td>Move cursor around alignment</td>
109 <td><strong>Page Up</strong></td>
111 <td>Scroll up the alignment view</td>
114 <td><strong>Page Down</strong></td>
116 <td>Scroll down the alignment view</td>
119 <td><strong>Control 'A'</strong></td>
121 <td>Selects all sequences in the alignment</td>
124 <td><strong>Control 'I'</strong></td>
126 <td>Invert sequence selection.</td>
129 <td><strong>Control Alt 'I'</strong></td>
131 <td>Invert column selection.</td>
134 <td><strong>Control 'C'</strong></td>
136 <td>Copies the selected region into the clipboard as a Fasta
137 format file<br> <em>nb. not available in applet, as no
138 clipboard is available</em>
142 <td><strong>Control 'V'</strong></td>
144 <td>Paste the contents of the clipboard to the current
145 alignment window. (Alignment Window->Edit->Paste->Add to this
146 Alignment)<br> <em>nb. if the paste is from a Jalview
147 alignment, any sequence and alignment annotations will also be
152 <td><strong>Control Shift 'V'</strong></td>
154 <td>Paste the contents of the clipboard to a new alignment
155 window. (Alignment Window->Edit->Paste->To New Alignment)</td>
158 <td><strong>Control 'X'</strong></td>
160 <td>Cuts the (fully) selected sequences from the alignment. <!-- not yet in this version
161 This will not happen if only some
162 columns are selected, you should use the <a href="features/hiddenRegions.html">Hide Regions feature</a> instead.-->
166 <td><strong>Control 'F'</strong></td>
168 <td>Launches the search window</td>
171 <td><strong>H</strong></td>
173 <td>Hides / Reveals selected columns and sequences</td>
176 <td><strong>Control 'H'</strong></td>
178 <td>Hides / Reveals selected columns</td>
181 <td><strong>Shift 'H'</strong></td>
183 <td>Hides / Reveals selected sequences</td>
186 <td><strong>Control + Shift 'H'</strong></td>
188 <td>Hides everything but the current selection</td>
191 <td><strong>Control 'O'</strong></td>
193 <td>Input new alignment from file</td>
196 <td><strong>Control 'S'</strong></td>
198 <td>Save alignment with current filename and format</td>
201 <td><strong>Control Shift 'S'</strong></td>
203 <td>Save alignment as a new file or with a different format</td>
206 <td><strong>Control 'P'</strong></td>
208 <td>Opens the print dialog box to print the current view</td>
211 <td><strong>Control 'W'</strong></td>
213 <td>Closes the current view or the current alignment</td>
216 <td><strong>Backspace</strong></td>
218 <td>Delete the currently selected rows or columns from the
222 <td><strong>Control 'L'</strong></td>
224 <td>Remove columns to left of left-most column marker.</td>
227 <td><strong>Control 'R'</strong></td>
229 <td>Remove columns to right of right-most column marker.</td>
232 <td><strong>Control 'E'</strong></td>
234 <td>Remove gapped columns</td>
237 <td><strong>Control Shift 'E'</strong></td>
239 <td>Remove all gaps</td>
242 <td><strong>Control 'D'</strong></td>
244 <td>Open the 'Remove redundancy' Dialog box.</td>
247 <td><strong></strong></td>
252 <p>The compound commands available in the Cursor mode are
253 summarised below. Single letter commands can be prefixed by digits
254 to specify a repetition number, and some more complex commands take
255 one or more numeric parameters (prefixing the command key and
256 separated by commas).</p>
259 <td><strong>Compound Command</strong></td>
261 <td>Action (and parameter description)</td>
264 <td><strong>0-9</strong></td>
266 <td>Begin entering a numeric parameter (<strong><em>p</em></strong>)
267 or repetition number for a cursor movement or edit command.
271 <td><strong>,</strong></td>
273 <td>Separates one or more numeric parameters (<em>e.g. <strong>p1</strong>,<strong>p2</strong></em>)
278 <td><strong><strong><em>p1</em></strong>,<strong><em>p2</em></strong><br>Return</strong></td>
280 <td>Move cursor to a particular column (<strong><em>p1</em></strong>)
281 and row (<strong><em>p2</em></strong>) in the alignment.<br>
282 <em>e.g. '5,6<Return>' moves the cursor to the 5th
283 column in the 6th sequence.</em></td>
286 <td><strong><em>p</em>S</strong></td>
288 <td>Jump to the <strong><em>p</em></strong>'th sequence in
293 <td><strong><em>p</em>P</strong></td>
295 <td>Jump to <em><strong>p</strong></em>'th amino acid in
300 <td><strong><em>p</em>C</strong></td>
302 <td>Jump to <em><strong>p</strong></em>'th column in the
307 <td><strong>Q</strong></td>
309 <td>Marks the top left corner of the selection area</td>
312 <td><strong>M</strong></td>
314 <td>Marks the bottom right corner of the selection area</td>
317 <td><strong><em>[p]</em><br>Space</strong></td>
319 <td>Inserts one (or optionally <strong><em>p</em></strong>)
320 gaps at the current position.<br>
321 <em>Hold down Control or Shift to insert gaps over a sequence
325 <td><strong><em>[p]</em><br>Delete<br></strong></td>
327 <td>Removes one (or optionally <strong><em>p</em></strong>)
328 gaps at the cursor position.<br>
329 <em>Hold down Control or Shift to insert gaps over a sequence
333 <td><strong><em>[p]</em><br>Backspace<br></strong></td>
335 <td>Removes one (or optionally <strong><em>p</em></strong>)
336 gaps at the cursor position.<br>
337 <em>Hold down Control or Shift to insert gaps over a sequence