Shortcut Keys

Single Line Operations

Windows/LinuxMacActionNotes
Ctrl-DCommand-DRemove lineWorks in PlantText
Alt-Shift-DownCommand-Option-DownCopy lines downWorks in PlantText
Alt-Shift-UpCommand-Option-UpCopy lines upWorks in PlantText
Alt-DownOption-DownMove lines down
Alt-UpOption-UpMove lines up
Alt-DeleteCtrl-KRemove to line end
Alt-BackspaceCommand-BackspaceRemove to linestart
Ctrl-BackspaceOption-Backspace,
Ctrl-Option-Backspace
Remove word left
Ctrl-DeleteOption-DeleteRemove word right
Ctrl-OSplit line

Selection

Windows/LinuxMacActionNotes
Ctrl-ACommand-ASelect all
Shift-LeftShift-LeftSelect left
Shift-RightShift-RightSelect right
Ctrl-Shift-LeftOption-Shift-LeftSelect word left
Ctrl-Shift-RightOption-Shift-RightSelect word right
Shift-HomeShift-HomeSelect line start
Shift-EndShift-EndSelect line end
Alt-Shift-RightCommand-Shift-RightSelect to line end
Alt-Shift-LeftCommand-Shift-LeftSelect to line start
Shift-UpShift-UpSelect up
Shift-DownShift-DownSelect down
Shift-PageUpShift-PageUpSelect page up
Shift-PageDownShift-PageDownSelect page down
Ctrl-Shift-HomeCommand-Shift-UpSelect to start
Ctrl-Shift-EndCommand-Shift-DownSelect to end
Ctrl-Shift-DCommand-Shift-DDuplicate selection
Ctrl-Shift-PSelect to matching bracket
Ctrl-Shift-MCtrl-Shift-MExpand to matching
Ctrl-, Ctrl-PCommand-\Jump to matching
Ctrl-Shift-, Ctrl-Shift-PCommand-Shift-\Select to matching
Ctrl-Shift-LCommand-Shift-LExpand to line

Multicursor

Windows/LinuxMacActionNotes
Ctrl-Alt-UpCtrl-Option-UpAdd cursor above
Ctrl-Alt-DownCtrl-Option-DownAdd cursor below
Ctrl-Alt-RightCtrl-Option-RightAdd next occurrence to multi-selection
Ctrl-Alt-LeftCtrl-Option-LeftAdd previous occurrence to multi-selection
Ctrl-Alt-Shift-UpCtrl-Option-Shift-UpMove multicursor from current line to the line above
Ctrl-Alt-Shift-DownCtrl-Option-Shift-DownMove multicursor from current line to the line below
Ctrl-Alt-Shift-RightCtrl-Option-Shift-RightRemove current occurrence from multi-selection and move to next
Ctrl-Alt-Shift-LeftCtrl-Option-Shift-LeftRemove current occurrence from multi-selection and move to previous
Ctrl-Shift-LCtrl-Shift-LSelect all from multi-selection
Ctrl-Alt-ACtrl-Alt-AAlign cursors

Go to

Windows/LinuxMacActionNotes
LeftLeft, Ctrl-BGo to left
RightRight, Ctrl-FGo to right
Ctrl-LeftOption-LeftGo to word left
Ctrl-RightOption-RightGo to word right
UpUp, Ctrl-PGo line up
DownDown, Ctrl-NGo line down
Alt-Left, HomeCommand-Left, Home, Ctrl-AGo to line start
Alt-Right, EndCommand-Right, End, Ctrl-EGo to line end
PageUpOption-PageUpGo to page up
PageDownOption-PageDown, Ctrl-VGo to page down
Ctrl-HomeCommand-Home, Command-UpGo to start
Ctrl-EndCommand-End, Command-DownGo to end
Ctrl-LCommand-LGo to line…
Ctrl-DownCommand-DownScroll line down
Ctrl-UpScroll line up
Ctrl-PGo to matching bracket
Option-PageDownScroll page down
Option-PageUpScroll page up
Alt-EF4Go to next error
Alt-Shift-EShift-F4Go to previous error

Find/Replace

Windows/LinuxMacActionNotes
Ctrl-FCommand-FFind
Ctrl-HCommand-Option-FReplace
Ctrl-KCommand-GFind next
Ctrl-Shift-KCommand-Shift-GFind previous
Ctrl-Alt-KCtrl-Alt-GFind all

Folding

Windows/LinuxMacActionNotes
F2F2Toggle fold widget
Alt-L, Ctrl-F1Command-Option-L, Command-F1Fold selection
Alt-Shift-L, Ctrl-Shift-F1Command-Option-Shift-L, Command-Shift-F1Unfold
Alt-0Command-Option-0Fold all
Alt-Shift-0Command-Option-Shift-0Unfold all
Ctrl-Command-Option-0Fold all comments

Other

Windows/LinuxMacActionNotes
F1F1Open command palette
TabTabIndent
Shift-TabShift-TabOutdent
Ctrl-ZCommand-ZUndo
Ctrl-Shift-Z, Ctrl-YCommand-Shift-Z, Command-YRedo
Ctrl-,Command-,Show the settings menu
Ctrl-/Command-/Toggle comment
Ctrl-Shift-/Command-Shift-/Toggle block comment
Ctrl-TCtrl-TTranspose letters
Ctrl-EnterCommand-EnterEnter full screen
Ctrl-Shift-UCtrl-Shift-UChange to lower case
Ctrl-UCtrl-UChange to upper case
InsertInsertOverwrite
Ctrl-Shift-ECommand-Shift-EMacros replay
Ctrl-Alt-EMacros recording
DeleteDelete
Ctrl-LCenter selection
Ctrl-UCtrl-UTo uppercase
Ctrl-Shift-UCtrl-Shift-UTo lowercase
Ctrl-Alt-SCommand-Alt-SSort lines
Ctrl-Shift-UpAlt-Shift-UpModify number up
Ctrl-Shift-DownAlt-Shift-DownModify number down
Ctrl-Shift-BCtrl-Shift-BFormat selection (Beautify)May not work in PlantText depending on browser

Thanks to Harutyun Amirjanyan and other editors at https://github.com/ajaxorg/ace/wiki/Default-Keyboard-Shortcuts

Thanks also to the Ace editor open source project here https://github.com/ajaxorg/ace

Scroll to Top