Prev Next

Code Editor Key Bindings

Keys

Key

Description

Ctrl+G

Move cursor to a specified line

Move cursor down one line

Shift+↓

Extend selection down one line

Ctrl+↓

Scroll down one line

Alt+Shift+↓

Extend rectangular selection down one line

Move cursor up one line

Shift+↑

Extend selection up one line

Ctrl+↑

Scroll up one line

Alt+Shift+↑

Extend rectangular selection up one line

Ctrl+(

Move cursor up one paragraph

Ctrl+Shift+(

Extend selection up one paragraph

Ctrl+)

Move cursor down one paragraph

Ctrl+Shift+)

Extend selection down one paragraph

Move cursor left one character

Shift+←

Extend selection left one character

Ctrl+←

Move cursor left one word

Ctrl+Shift+←

Extend selection left one word

Alt+Shift+←

Extend rectangular selection left one character

Move cursor right one character.

Shift+→

Extend selection right one character

Ctrl+→

Move cursor right one word

Ctrl+Shift+→

Extend selection right one word

Alt+Shift+→

Extend rectangular selection right one character

Ctrl+/  

Move cursor left one word part

Ctrl+Shift+/

Extend selection left one word part

Ctrl+\

Move cursor right one word part

Ctrl+Shift+\

Extend selection right one word part

Home

Move cursor to the start of the current line

Shift+Home

Extend selection to the start of the current line

Ctrl+Home

Move cursor to the start of the document

Ctrl+Shift+Home

Extend selection to the start of the document

Alt+Home

Move cursor to the absolute start of the line

Alt+Shift+Home

Extend rectangular selection to the start of the line

End

Move cursor to the end of the current line

Shift+End

Extend selection to the end of the current line

Ctrl+End

Move cursor to the end of the document

Ctrl+Shift+End

Extend selection to the end of the document

Alt+End

Move cursor to the absolute end of the line

Alt+Shift+End

Extend rectangular selection to the end of the line

Page Up

Move cursor up a page

Shift+Page Up

Extend selection up a page

Alt+Shift+Page Up

Extend rectangular selection up a page

Page Down

Move cursor down a page

Shift+Page Down

Extend selection down a page

Alt+Shift+Page Down

Extend rectangular selection down a page

Delete

Delete character to the right of the cursor

Shift+Delete

Cut selection

Ctrl+Delete

Delete word to the right of the cursor

Ctrl+Shift+Delete

Delete until the end of the line

Insert

Toggle overtype

Shift+Insert

Paste

Ctrl+Insert

Copy selection

Backspace

Delete character to the left of the cursor

Shift+Backspace

Delete character to the left of the cursor

Ctrl+Backspace

Delete word to the left of the cursor

Ctrl+Shift+Backspace

Delete from the start of the line to the cursor

Alt+Backspace

Undo delete

Tab

Indent cursor one tab

Ctrl+Shift+I

Indent cursor one tab

Shift+Tab

Unindent cursor one tab

Ctrl+keypad(+)

Zoom in

Ctrl+keypad(-)

Zoom out

Ctrl+keypad(/)

Restore Zoom

Ctrl+Z

Undo

Ctrl+Y

Redo

Ctrl+X

Cut selection

Ctrl+C

Copy selection

Ctrl+V

Paste

Ctrl+L

Cut line

Ctrl+T

Transpose line

Ctrl+Shift+T

Copy line

Ctrl+A

Select entire document

Ctrl+D

Duplicate selection

Ctrl+U

Convert selection to lowercase

Ctrl+Shift+U

Convert selection to uppercase

Ctrl+E

Move cursor to matching brace

Ctrl+Shift+E

Extend selection to matching brace

Ctrl+Shift+C

Toggle line comment on selection

Ctrl+Shift+X

Toggle stream comment on selection

Ctrl+F2

Toggle bookmark

F2

Go to next bookmark

Shift+F2

Go to previous bookmark

Ctrl+Shift+F2

Clear all bookmarks in current file

Ctrl+Shift+W

Toggle whitespace characters

Ctrl+Shift+L

Toggle EOL characters

Ctrl+Spacebar

Invoke autocomplete

Ctrl+-

Go backwards in cursor history

Ctrl+Shift+-

Go forwards in cursor history

F12

Start/Cancel search for keyword in file(s).

Ctrl+F

Find text

Ctrl+R

Replace text

Notes

  • In addition to these keys, you can assign (Ctrl+Alt+<n>) key combinations to macros that you define within the Source Code Editor

Learn more