Note: all keyboard shortcuts described in the following list apply to the default MPW_like keyboard layout that comes default with Eddie. The keyboard layout can be modified in the UserStartup file and the shortcuts may be different on your setup. See description of SetKey for a way of setting and displaying all your current keyboard shortcuts.
Text selection/cursor position can be changed by clicking the mouse. Left Arrow, Right Arrow, Up Arrow and Down Arrow move the cursor left/right/up and down respectively. If the selection is non-empty, it will become empty after the move.
The default scroll behavior scrolls the document by half a page when the edge of the screen is reached. You may prefer to just scroll enough to reveal the next line. You can re-map your up/down arrow key to use these keyboard primitives:
DownArrow |
(Default) Move cursor to the next line. If the next line is not visible, scroll the document by half a page. |
DownArrowSingleLineScroll |
Move cursor to the next line. If the next line is not visible, scroll the document by a single line. |
UpArrow |
(Default) Move cursor to the previous line. If the next line is not visible, scroll the document by half a page. |
UpArrowSingleLineScroll |
Move cursor to the previous line. If the next line is not visible, scroll the document by a single line. |
In addition to these obvious cursor positioning keys the following keyboard shortcuts can be used:
Option-Left Arrow | move to word beginning |
Option-Right Arrow | move to word end |
Command-Left Arrow | move to line beginning |
Command-Right Arrow | move to line end |
Option-Up Arrow | scroll/move the selection one page up |
Option-Up Arrow | scroll/move the selection one page down |
Command-Up Arrow | scroll/move the selection to the top of the file |
Command-Up Arrow | scroll/move the selection to the end of the file |
Subwords are parts of words, delimited by underscores, digits and changes from lower to upper case. Eddie allows you to navigate subwords with these shortcuts:
Control-Right Arrow | move to subword beginning |
Control-Left Arrow | move to subword beginning |
Pressing Control-Right Arrow over the following text will move the cursor over the parts of the selected text like so:
To navigate to the next or previous function you may use the following shortcuts. These shortcuts use the FunctionPopup plugin:
Shift-Control-Up Arrow | Go to previous function |
Shift-Control-Down Arrow | Go to next function |
Most of the above cursor moving shortcuts can be used with the Shift key to extend/shrink the selection start or end. Different editors do this slightly differently and Eddie allows you to choose between two behaviors:
In the first behavior, when you use Shift-Left Arrow, the selection end grows by one, when you use Shift-Right Arrow, the selection beginning grows by one in the other direction. There is no way to shrink the selection when using this behavior. This is the default behavior Shift-Left Arrow, Shift-Right Arrow, Shift-Up Arrow and Shift-Up Arrow if Eddie doesn't have any of the arrow keys bound to a keyboard shortcut.
In the second behavior, the first time the Shift-[cursor positioning key] combination is used it grows the selection. If you use Shift-Left Arrow, it will grow the selection end by one, if you use Shift-Right Arrow, it grows the selection start. Any subsequent selection changing keyboard shortcuts apply to whichever of selection start/end was first changed. If you started with Shift-Left Arrow and then press Shift-Right Arrow, the selection start shrinks back to it's original location. Some users prefer this behavior. Currently Eddie offers this behavior for Shift-Left Arrow, Shift-Right Arrow, Shift-Up Arrow and Shift-Up Arrow. To use this behavior, Eddie needs to map Shift-Left Arrow, Shift-Right Arrow, Shift-Up Arrow and Shift-Up Arrow to the following keyboard primitives:
The default UserStartup is pre-configured with these keyboard shortcuts, if you have a different preference, you may delete the lines from the UserStartup:
SetKey Shift-LeftArrow ExtendOrShrinkLeft
SetKey Shift-RightArrow ExtendOrShrinkRight
SetKey Shift-UpArrow ExtendOrShrinkUp
SetKey Shift-DownArrow ExtendOrShrinkDown
An alternative to the Up/Down arrow scrolling shortcuts are the Control-Up Arrow and Control-Down Arrow shortcuts:
Control-Up Arrow | Scroll and move up by a line |
Control-Down Arrow | Scroll and move down by a line |
These move the cursor up/down by a line and scroll the entire document by a line to preserve the location of the cursor on the screen.
To scroll the text up/down but not alter the cursor position in the text:
Control-Option-Up Arrow | Scroll up by a line |
Control-Option-Down Arrow | Scroll down by a line |
When scrolling up/down using the Up Arrow and Down Arrow, when the cursor reaches the edge of the window, the document scrolls by a half page, placing the cursor in the middle of the screen. Some users prefer a different scrolling shortcut that can be attached to the Up/Down arrow using the SetKey command in the UserStartup:
SetKey UpArrow UpArrowSingleLineScroll
SetKey DownArrow DownArrowSingleLineScroll
If configured, these scrolling primitives cause the screen to only scroll by a single line when the screen edge is reached.