Skip to content

Commands and Shortcuts

fedro86 edited this page Oct 20, 2026 · 4 revisions

Commands and Shortcuts

All Default Shortcuts

Shortcut Action
Files
Ctrl+T New tab
Ctrl+O Open file
Ctrl+S Save
Ctrl+Shift+S Save As
Ctrl+W Close active tab
Ctrl+Q Quit
Editing
Ctrl+Z Undo
Ctrl+Shift+Z Redo
Ctrl+X Cut
Ctrl+C Copy
Ctrl+V Paste
Ctrl+A Select All
Search
Ctrl+F Find
Ctrl+H Find & Replace
Ctrl+G Go to Line
Tabs
Ctrl+Tab Next tab
Ctrl+Shift+Tab Previous tab
Ctrl+Page Down Next tab (alternative)
Ctrl+Page Up Previous tab (alternative)
File Reload
Ctrl+R Reload current file from disk
Ctrl+Shift+R Reload all open files from disk
Features
Ctrl+M Markdown preview in browser
Ctrl+Shift+L Run all plugin checks

Find

Ctrl+F opens the find dialog.

  • Find Next and Find Prev search forward or backward from the cursor; switching direction moves straight to the adjacent match
  • Case-sensitive toggle
  • Regex toggle — interpret the pattern as a regular expression (the regex-lite syntax: the usual Perl-style syntax without Unicode classes such as \p{L}). ^, $ and \b match against the whole document. Invalid patterns surface a themed error inline.
  • With Match case off, regex search folds ASCII letters only (café does not find CAFÉ); the dialog shows a "(case folding: ASCII only)" hint. Plain (non-regex) search folds all letters.
  • Wrap around — continues from the beginning when the end is reached
  • Matching text is highlighted and scrolled into view

Find & Replace

Ctrl+H opens the replace dialog.

  • Replace — replaces the current match and finds the next one
  • Replace All — replaces every occurrence (shows count)
  • Same case-sensitive and regex toggles as Find. In regex mode, replacement strings support capture references (e.g. $1, $name).

Go to Line

Ctrl+G — enter a line number to jump directly to it.

Keyboard Layouts

Ctrl+letter shortcuts follow the letter you type. With several keyboard layouts configured (for example a physical AZERTY keyboard typing in a US layout), Ctrl+Z runs Undo for the Z the active layout produces, not for the key at that physical position.

Escape

Escape closes dialogs (Find, Go to Line, Settings…). In the editor itself it does nothing: it never closes or hides the main window.

Customizing Shortcuts

Open Edit > Key Shortcuts... to view and rebind any shortcut.

  • Supports modifiers: Ctrl, Shift, Alt
  • Supports keys: letters, numbers, F1-F12, Tab, Backspace, Delete, Insert, Home, End, PageUp, PageDown, arrows
  • Plugin menu actions can also have custom shortcuts
  • Custom shortcuts persist across sessions
  • Some reserved shortcuts cannot be overridden by plugins

Clone this wiki locally