Using Console Keyboard Shortcuts

Line Operation Shortcuts

Key CombinationAction
Ctrl + DRemove line
Alt + Shift + ↓Copy lines down
Alt + Shift + ↑Copy lines up
Alt + ↓Move lines down
Alt + ↑Move lines up
Alt + BackspaceRemove to line end
Alt + DeleteRemove to line start
Ctrl + DeleteRemove word left
Ctrl + BackspaceRemove word right

Selection Shortcuts

Key CombinationAction
Ctrl + ASelect all
Shift + ←Select left
Shift + →Select right
Ctrl + Shift + ←Select word left
Ctrl + Shift + →Select word right
Shift + HomeSelect line start
Shift + EndSelect line end
Alt + Shift + →Select to line end
Alt + Shift + ←Select to line start
Shift + ↑Select up
Shift + ↓Select down
Shift + Page UpSelect page up
Shift + Page DownSelect page down
Ctrl + Shift + HomeSelect to start
Ctrl + Shift + EndSelect to end
Ctrl + Shift + DDuplicate selection
Ctrl + Shift + PSelect to matching bracket

Multi-Cursor Shortcuts

Key CombinationAction
Ctrl + Alt + ↑Add multi-cursor above
Ctrl + Alt + ↓Add multi-cursor below
Ctrl + Alt + →Add next occurrence to multi-selection
Ctrl + Alt + ←Add previous occurrence to multi-selection
Ctrl + Alt + Shift + ↑Move multi-cursor from current line to the line above
Ctrl + Alt + Shift + ↓Move multi-cursor from current line to the line below
Ctrl + Alt + Shift + →Remove current occurrence from multi-selection and move to next
Ctrl + Alt + Shift + ←Remove current occurrence from multi-selection and move to previous
Ctrl + Shift + LSelect all from multi-selection

Go-To Shortcuts

Key CombinationAction
Page UpGo to page up
Page DownGo to page down
Ctrl + HomeGo to start
Ctrl + EndGo to end
Ctrl + LGo to line
Ctrl + PGo to matching bracket

Folding Shortcuts

Key CombinationAction
Alt + L, Ctrl + F1Fold selection
Alt + Shift + L, Ctrl + Shift + F1Unfold

Other Shortcuts

Key CombinationAction
TabIndent
Shift + TabOutdent
Ctrl + ZUndo
Ctrl + Shift + Y, Ctrl + YRedo
Ctrl + TTranspose letters
Ctrl + Shift + UChange to lower-case
Ctrl + UChange to upper-case
InsertOverwrite
Ctrl + RSearch command history for match, stepping backward through commands
Ctrl + Shift + RSearch command history for match, stepping forward through commands