Skip to content

Keybindings

Switching between viewer and editor

Each mode has two shortcuts, and both work from either mode.

Shortcut Action
Ctrl+E or F2 Open the editor (source beside the live render)
Ctrl+Shift+E or F3 Back to the viewer
Esc Leave the editor for the viewer
Pen button, bottom right Open the file in the editor

Files and tabs

Shortcut Action
Ctrl+O Open a file (system file dialog)
Ctrl+S Save the file being edited
Ctrl+P Export the active tab to HTML and open it for printing
Ctrl+W Close the active tab
Ctrl+Tab Next tab
Ctrl+Shift+Tab Previous tab
Esc Clear the selection, or quit if nothing is selected

Selection

Shortcut Action
Ctrl+A Select the whole document
Ctrl+C Copy the selection to the clipboard
Click + drag Select a range
Double-click Select a word
Triple-click Select a line
Shift + click Extend the selection to the click

Caret movement

Hold Shift with any of these to extend the selection as the caret moves.

Shortcut Action
Left / Right Move one character
Ctrl+Left / Ctrl+Right Move one word
Up / Down Move one line
Home / End Start / end of the line
Ctrl+Home / Ctrl+End Start / end of the document

Editing

These apply in the editor pane.

Shortcut Action
Ctrl+Z Undo (a typed run comes back as one step)
Ctrl+Shift+Z or Ctrl+Y Redo
Ctrl+X / Ctrl+C / Ctrl+V Cut, copy, paste
Tab Insert two spaces
Enter New line, keeping the current indent
PageUp / PageDown Move a screen at a time
Click, drag, Shift+click Place the caret, select a range

Long lines soft-wrap to the width of the pane, and Up / Down move by the wrapped row rather than jumping a whole paragraph. Drag the divider to give either pane more room.

Mouse on the tab bar

Action Result
Click a tab Switch to it
Click the × Close that tab
Middle-click a tab Close that tab