Selection Commands

The selection commands change the current selection. Usually, if the resulting selection is not visible in the window, the window is scrolled to show it. These commands change the selection to an insertion point and move it to a new location in the file.

Table 4.7: Cursor Movement Commands

Command

Key

Description

Cursor Down

Down Arrow

Move down by one line.

Cursor Up

Up Arrow

Move up by one line.

Cursor Left

Left Arrow

Move left by one character.

Cursor Right

Right Arrow

Move right by one character.

Beginning of Line

Home

Move to beginning of line.

End of Line

End

Move to end of line.

Top of File

Ctrl+Home

Move to top of file.

Bottom of File

Ctrl+End

Move to end of file.

Beginning of Selection

Ctrl+Alt+[

Move to start of an extended selection.

End of Selection

Ctrl+Alt+]

Move to end of an extended selection.

Top of Window

 

Move to top of window.

Bottom of Window

 

Move to bottom of window.

Word Left

Ctrl+Left

Move left by one word.

Word Right

Ctrl+Right

Move right by one word.

Function Down

Keypad +

Move to next function definition.

Function Up

Keypad -

Move to previous function definition.

Blank Line Down

 

Move to next blank line.

Blank Line Up

 

Move to previous blank line.

Paren Left

Ctrl+9

Move to previous enclosing parentheses.

Paren Right

Ctrl+0

Move to next enclosing parentheses.

Blank Line Up

 

Move to previous blank line.

Blank Line Up

 

Move to previous blank line.

Block Up

Ctrl+Shift+{

Move to previous { block level.

Block Down

Ctrl+Shift+}

Move to next { block level.

Go To Line

F5,

Ctrl+G

Move to a specified line number.

Search

Ctrl+F

Search for occurrence of a pattern.

Search Forward

F4

Search for next occurrence.

Search Backward

F3

Search for previous occurrence.

Search Forward for Selection

Shfit+F4

Searches for next occurrence of the word under the cursor.

Selection History

Ctrl+Shift+M

Displays a list of your past selections.