Skip to content
  1. Extras
  2. Ace
  3. Keyboard shortcuts

Keyboard shortcuts

Full Ace command list in the manager: Ctrl+Alt+H while the editor is focused. Emmet adds its own entries to the same table.

Common shortcuts for MODX work:

Ace and package

ShortcutAction
Ctrl+Alt+HShortcut table
Ctrl+Shift+BFormat code
Alt+ZToggle word wrap
Ctrl+F11Fullscreen (Windows/Linux)
Cmd+F12Fullscreen (Mac)
Ctrl+SpaceMODX / PHP completions
TabExpand Tab snippet (ace.snippets) or indent
Alt+WEmmet: wrap with abbreviation
Ctrl+S / Cmd+SSave form (synced correctly in fullscreen since 1.9.10)

Ace core (basic)

ShortcutAction
Ctrl+FFind
Ctrl+HReplace
Ctrl+GGo to line
Ctrl+/Comment
Ctrl+DSelect next occurrence
Ctrl+Alt+↑ / ↓Multicursor
Ctrl+LSelect line

Exact bindings depend on the bundled ace-builds version and OS layout. Use the Ctrl+Alt+H dialog as the source of truth.

Fullscreen on MODX 3

In maximized mode the editor moves to document.body with a high z-index so manager chrome does not cover the code. .ace_maximized insets keep the top bar and tree visible.