### Cursor navigation

#### Moving the cursor

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. In addition to these obvious cursor positioning keys the following keyboard shortcuts can be used:

Control-right arrow | move to subword beginning
Control-left arrow | move to subword beginning

Subwords are parts of a word. Subwords are delimited by underscores, digits and changes from lower to upper case.

Win-left arrow | move to word beginning
Win-right arrow | move to word end
Alt-left arrow | move to line beginning
Alt-right arrow | move to line end
Win-up arrow | scroll/move the selection one page up
Win-down arrow | scroll/move the selection one page down
Alt-up arrow | scroll/move the selection to the top of the file
Alt-down arrow | scroll/move the selection to the end of the file

To navigate to the next or previous function you may use the following shortcuts. These shortcuts use the FunctionPopup plugin:

Shift-Control-UpArrow | Go to previous function
Shift-Control-DownArrow | Go to next function

#### Changing the selection

Any 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-down 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-down arrow. To use this behavior, Eddie needs to map Shift-left arrow, Shift-right arrow, Shift-up arrow and Shift-down arrow to the following keyboard primitives:
`ExtendOrShrinkLeft`, `ExtendOrShrinkRight`, `ExtendOrShrinkUp` and `ExtendOrShrinkDown`.

The default `UserStartup` is preconfigured 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

A lot of the editing features in Eddie come in several flavors, sometime with very subtle differences. If the default behavior isn't quite what you are used to, search the available primitives for one that you prefer. And you can of course contact the author for editing commands that are not available and you would like added to Eddie.