Text Navigation Shortcut Keys, Visual C++ 2.0 Default Shortcut Option

Use the following shortcut key combinations in text editors to move in an open document.

Note

The appearance of features in the IDE can depend on your active settings or edition, and might differ from those described in Help. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.

Command name

Shortcut keys

Description

Edit.CharLeft

LEFT ARROW

Moves the cursor one character to the left.

Edit.CharRight

RIGHT ARROW

Moves the cursor one character to the right. Available only in the .NET Framework Designer

Edit.DocumentEnd

CTRL + END

Moves the insertion point to the last line of the document.

Edit.DocumentStart

CTRL + HOME

Moves the insertion point to the first line of the document.

Edit.GoTo

CTRL + G

Displays the Go To Line dialog box.

Edit.GotoBrace

CTRL + ] CTRL + M

Moves the insertion point to the next brace in the document.

Edit.LineDown

DOWN ARROW

Moves the cursor down one line.

Edit.LineEnd

END

Moves the cursor to the end of the current line.

Edit.LineStart

HOME

Moves the cursor to the beginning of the line.

Edit.LineUp

UP ARROW

Moves the cursor up one line.

Edit.NextBookmark

F2

Moves to the next bookmark in the document.

Edit.PageDown

PAGE DOWN

Scrolls down one screen in the editor window.

Edit.PageUp

PAGE UP

Scrolls up one screen in the editor window.

Edit.PreviousBookmark

SHIFT + F2

Moves to the previous bookmark.

Edit.QuickInfo

CTRL + T

Displays Quick Info, based on the current language.

Edit.ScrollLineDown

CTRL + DOWN ARROW

Scrolls text down one line. Available in text editors only.

Edit.ScrollLineUp

CTRL + UP ARROW

Scrolls text up one line. Available in text editors only.

Edit.WordNext

CTRL + RIGHT ARROW

Moves the insertion point to the right one word.

Edit.WordPrevious

CTRL + LEFT ARROW

Moves the insertion point to the left one word.

See Also

Tasks

How to: Work with Keyboard Shortcuts

Concepts

Pre-defined Keyboard Shortcuts

Other Resources

Visual C++ 2.0 Default Shortcut Keys