Edit shortcuts


Table 22: Standard Edit shortcuts
Press
To
INSERT
Switch between insert mode and overwrite mode.
CTRL+a
Select all.
CTRL+y
Undo the previous command.
CTRL+z
Redo the undone command.
CTRL+x
Delete the selected text from the file and copy it the clipboard.
SHIFT+DELETE
Delete the selected text from the file and copy it the clipboard.
CTRL+c
Copy the selected text to the clipboard.
CTRL+INSERT
Copy the selected text to the clipboard.
CTRL+v
Insert the clipboard text into the file.
SHIFT+INSERT
Insert the clipboard text into the file.
CTRL+e
Remove the current line.
CTRL+h
Remove character preceding the insertion point.
CTRL+u
Delete text in the following cycle (when using the shortcut successive times): first the text preceding the insertion point on the same line, then the indentation on the line, then the line break, then the text on the previous line, and so on.
CTRL+w
Remove the current word or the word preceding the insertion point
CTRL+k
Word Match - find the previous word that begins like the current word and complete the current word so that they match
CTRL+l
Word Match - find the next word that begins like the current word and complete the current word so that they match
DELETE
Remove character after the insertion point
SHIFT+SPACE
Insert space without expanding abbreviation
ALT+j
Select the word the insertion point is on or deselect any selected text
Table 23: Indentation shortcuts
Keyboard shortcut
With no selected text
With selected text
TAB
Insert tab
Shift selection right
SHIFT+TAB
Shift selection left
CTRL+t
Shift line right
Shift selection right
CTRL+d
Shift line left
Shift selection left
Alt+f
Reformat the entire file
Reformat the selected lines
Table 24: Capitalization shortcuts
Keyboard shortcut
With no selected text
With selected text
ALT+u then u
Make the character after the insertion point uppercase
Make the selection uppercase
ALT+u then l
Make the character after the insertion point lowercase
Make the selection lowercase
ALT+u then r
Reverse the case of the character after the insertion point
Reverse the case of the selected text
ALT+u then f
Reverse the case of the first character of the identifier the insertion point is on.
Reverse the case of the first character of the selected identifier
Alt+f
Reformat the entire file
Reformat the selected lines

Contents Prev Next Index