Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Keyboard shortcuts

Every command in Ettin Edit can have a keyboard shortcut, and you can change any of them. This page lists the defaults; the menus and the command palette always show the ones in use.

Changing shortcuts

Settings > Shortcut Mapper… lists every command, every saved macro and every plugin command, with their shortcuts.

  1. Type in Find to narrow the list, by the command's name or by a shortcut such as ctrl+d. Tick Only commands with a shortcut to hide the rest.
  2. Select a command.
  3. Click Set… (or Change…), then press the new keys. Esc cancels.
  4. If another command already uses those keys, Ettin Edit tells you which one. Move It Here takes the shortcut from the other command; Cancel leaves things as they were.

A command can have more than one shortcut: Add Another… adds one, Remove removes the selected one, and Reset to Default puts the command's original shortcut back. Reset All Shortcuts resets every command.

Rules for shortcuts:

  • They need Ctrl or Alt, unless they use a function key (F1 to F12), so plain typing is never taken over.
  • Ctrl+C, Ctrl+X and Ctrl+V are kept for copy, cut and paste.
  • Undo, redo, cut, copy, paste, select all and completion are handled by the editor itself and can't be changed.

Your shortcuts are saved in settings.json in the settings folder, so they move with your settings.

Default shortcuts

On macOS-style keyboards, Ctrl is still Ctrl; Ettin Edit runs on Linux and Windows only.

File

CommandShortcut
NewCtrl+N
Open…Ctrl+O
SaveCtrl+S
Save As…Ctrl+Alt+S
Save AllCtrl+Shift+S
Print…Ctrl+P
CloseCtrl+W
Close AllCtrl+Shift+W

Edit

CommandShortcut
UndoCtrl+Z
RedoCtrl+Y
CutCtrl+X
CopyCtrl+C
PasteCtrl+V
Select AllCtrl+A
Line Operations > DuplicateCtrl+D
Line Operations > Delete LinesCtrl+Shift+L
Line Operations > Move UpCtrl+Shift+Up
Line Operations > Move DownCtrl+Shift+Down
Line Operations > Join LinesCtrl+J
Line Operations > Split Lines at Long-Line ColumnCtrl+I
Line Operations > Insert Blank Line AboveCtrl+Alt+Enter
Line Operations > Insert Blank Line BelowCtrl+Alt+Shift+Enter
Convert Case To > UPPERCASECtrl+Shift+U
Convert Case To > lowercaseCtrl+U
Convert Case To > Title CaseAlt+U
Convert Case To > Sentence caseCtrl+Alt+U
Convert Case To > iNVERT cASECtrl+Alt+Shift+U
Comment > Toggle Line CommentCtrl+Q
Comment > Toggle Block CommentCtrl+Shift+Q
Insert > Date and Time (Short)F5
Insert > Date and Time (Long)Shift+F5
Multi-Select > Select Next OccurrenceCtrl+Shift+D
Multi-Select > Select All OccurrencesAlt+F3
Auto-Completion > Complete WordCtrl+Space
Auto-Completion > Show Parameter HintCtrl+Shift+Space
Column Editor…Alt+C
Column ModeAlt+Shift+C
CommandShortcut
Find…Ctrl+F
Replace…Ctrl+H
Find NextF3
Find PreviousShift+F3
Find Selected NextCtrl+F3
Find Selected PreviousCtrl+Shift+F3
Find in Files…Ctrl+Shift+F
Go to Line…Ctrl+G
Bookmark > Toggle BookmarkCtrl+F2
Bookmark > Next BookmarkF2
Bookmark > Previous BookmarkShift+F2

View

CommandShortcut
Word WrapAlt+Z
Distraction-Free ModeF11
Command Palette…F1
Collapse ToolbarCtrl+F1
Menu Bar (show or hide)Ctrl+M
Next TabCtrl+Tab or Ctrl+PageDown
Previous TabCtrl+Shift+Tab or Ctrl+PageUp
Focus Other ViewF8
Hex ViewCtrl+Alt+Shift+H
Folding > Fold AllAlt+0
Folding > Unfold AllAlt+Shift+0
Folding > Fold Current LevelCtrl+Alt+F
Folding > Unfold Current LevelCtrl+Alt+Shift+F
Folding > Fold Level 1 … 5Alt+1, Alt+2, Alt+3, Alt+4, Alt+5
Zoom InCtrl++ or Ctrl+=
Zoom OutCtrl+-
Reset ZoomCtrl+0

Settings

CommandShortcut
Preferences…Ctrl+,

Tools

CommandShortcut
Compare > Compare with Previous Tab / the Two ViewsCtrl+Alt+D
Compare > Next DifferenceF7
Compare > Previous DifferenceShift+F7
CsvQuery > CsvQuery PanelCtrl+Alt+Q
CsvQuery > Run Query (in the panel)Ctrl+Enter
JSON and JavaScript > FormatCtrl+Alt+M
JSON and JavaScript > MinifyCtrl+Alt+N
JSON and JavaScript > JSON TreeCtrl+Alt+J
XML Tools > Pretty PrintCtrl+Alt+Shift+B
XML Tools > LinearizeCtrl+Alt+Shift+L
XML Tools > Check SyntaxCtrl+Alt+Shift+M
XML Tools > XPath PanelCtrl+Alt+Shift+E
XML Tools > Copy Current XPathCtrl+Alt+Shift+P

Macro

CommandShortcut
Start or Stop RecordingCtrl+Shift+R
PlaybackCtrl+Shift+P

Help

CommandShortcut
User ManualShift+F1

In the editor

These aren't commands, so they're not in the Shortcut Mapper:

KeysWhat they do
Ctrl+click, Alt+clickAdd a caret
Ctrl+dragAdd a selection
Alt+drag, Alt+Shift+arrowsColumn selection (a plain drag and Shift+arrows in Column Mode)
Ctrl+Alt+Up, Ctrl+Alt+DownAdd a caret above or below
EscBack to one caret; close the completion list, a parameter hint or the find bar
HomeFirst non-blank character, then the start of the line
Ctrl+Left, Ctrl+RightMove by words
Ctrl+Backspace, Ctrl+DeleteDelete by words
Tab, Shift+TabIndent or outdent the selected lines
Middle-click on a tabClose it