LaTex2Web logo

Documents Live, a web authoring and publishing system

If you see this, something is wrong

Table of contents

First published on Saturday, Jul 19, 2025 and last modified on Saturday, Jul 19, 2025

Ace editor default shorcuts.

François Chaplais

1 Ace Editor Default Shortcuts

1.1 Line Operations

Windows/LinuxMacAction
Alt-Shift-DownCommand-Option-DownCopy lines down
Alt-Shift-UpCommand-Option-UpCopy lines up
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-BackspaceRemove word left
Ctrl-DeleteOption-DeleteRemove word right
---Ctrl-OSplit line

1.2 Selection

Windows/LinuxMacAction
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-P---Select 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

1.3 Multicursor

Windows/LinuxMacAction
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

1.4 Go to

Windows/LinuxMacAction
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-Up---Scroll line up
Ctrl-P---Go to matching bracket
---Option-PageDownScroll page down
---Option-PageUpScroll page up
Alt-EF4Go to next error
Alt-Shift-EShift-F4Go to previous error

1.5 Find/Replace

Windows/LinuxMacAction
Ctrl-HCommand-Option-FReplace
Ctrl-KCommand-GFind next
Ctrl-Shift-KCommand-Shift-GFind previous
Ctrl-Alt-KCtrl-Alt-GFind all
Alt-KCtrl-GSelect or find next
Alt-Shift-KCtrl-Shift-GSelect or find previous

1.6 Folding

Windows/LinuxMacAction
Alt-F2Alt-F2Toggle parent 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

1.7 Other

Windows/LinuxMacAction
TabTabIndent
Ctrl-]Ctrl-]Block indent
Shift-TabShift-TabOutdent
Ctrl-[Ctrl-[Block outdent
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-E---Macros recording
Delete---Delete
---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)