Orion - Key Settings

Most key setting are different depending on which type of screen is being displayed.

Global Keys

There are a few operations that can be done anywhere whilst running Orion.

Key Meaning
<ESC> This key is a fundamental one that will take you to the previous display.
<CTRL-R> Take the view back to the Welcome screen..

Keys for Lists

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.

Key Meaning
Down Arrow Select the next lower item in the list
Up Arrow Select the next higher item in the list
Page Down Move down 1 page in the list
Page Up Move up 1 page in the list
Enter Action the list item
H Perform a Hunt operation. A line opens up for you to specify the new hunt string.

Keys for Files

All types of files have the same keys enabled.

The keys mappings are modelled around the usual key mapping for the vi editor. However, since Orion is not an editor, it is not completely vi compatible. For the majority of common movement operations, the usage is the same.

Key Meaning
Down Arrow Move the cursor down 1 line
j Move the cursor down 1 line
Up Arrow Move the cursor up 1 line
k Move the cursor up 1 line
Left Arrow Move the cursor left 1 character
h Move the cursor left 1 character
Right Arrow Move the cursor right 1 character
l Move the cursor right 1 character
Page Down Move down 1 page
Ctrl+f Move down 1 page
Page Up Move up 1 page
Ctrl+b Move up 1 page
Home Move to beginning of line
0 (zero) Move to beginning of line
End Move to end of line
$ Move to end of line
Ctrl+Home Move to top of file
Ctrl+Enter [Java Only} - If the cursor is on the Java declaration of a native method declaration, this does a 'Hunt' for the real native method name.
Ctrl+End Move to bottom of file
Enter Perform a 'Hunt' action on the symbol underneath the cursor. Note that this is only valid when the cursor is on a symbol, rather than a keyword, string, or any other type of character.
% Perform a bracket match for the character under the cursor position. Note this is only valid when the cursor is on a bracket and the bracket is NOT inside a comment. For this purposes, brackets are the characters {}[]().
H Perform a Hunt operation. A line opens up for you to specify the new hunt string.
n Go to the next occurrence of the currently hunted token.
p Go to the previous occurrence of the currently hunted token.
/ Find
? Find Backwards.
Ctrl+n Repeat last find forwards.
Ctrl+p Repeat last find backwards.
: Go to a specific line number.
w Move forward to the next word.
b Move backward to the previous word.
Ctrl+s Open the current file in HTML format in a separate browser window.