There are several ways to move around code editors:

Navigating with the mouse and keyboard

The most common way to navigate text is with the mouse and cursor motion keys:

The keystrokes most commonly used to navigate around a document are:

Keystroke Description
Up Moves the cursor up one line.
Down Moves the cursor down one line.
Left Moves the cursor left one character.
Right Moves the cursor right one character.
Home Moves the cursor to the first character on the line. Pressing Home a second time moves the cursor to the first column.
End Moves the cursor to the end of the line.
PageUp Moves the cursor up one page.
PageDown Moves the cursor down one page.
Ctrl+Left Moves the cursor left one word.
Ctrl+Right Moves the cursor right one word.
Ctrl+Up Moves the cursor to the previous function.
Ctrl+Down Moves the cursor to the next function.
Ctrl+Home Moves the cursor to the start of the document.
Ctrl+End Moves the cursor to the end of the document.
Alt+Up Move the insertion point to the top of the window.
Alt+Down Move the insertion point to the bottom of the window.
Ctrl+Up Scrolls the document up one line in the window without moving the caret.
Ctrl+Down Scrolls the document down one line in the window without moving the caret.

Go to line

To move the cursor to a particular line number, do the following:

Selecting Text

Selecting text with the keyboard

You can select text using the keyboard by using Shift with the navigation keys.

Selecting text with the mouse

Matching delimiters

The editor can find the matching partner for delimiter characters such as (),  [], {}, <>.

To match a delimiter
To select a delimited range