Scriptorium FR EN

Keyboard shortcuts

All Scriptorium shortcuts. Many come from the Monaco editor (the one in VS Code): if you know VS Code, you are at home. In the app: Help › Keyboard Shortcuts.

Files and tabs

Ctrl+NNew file
Ctrl+OOpen a file
Ctrl+Shift+OOpen a folder
Ctrl+SSave
Ctrl+Shift+SSave as…
Ctrl+Alt+SSave all
Ctrl+WClose the tab
Ctrl+TabNext tab
Ctrl+Shift+TabPrevious tab

Get around fast

Ctrl+PGo to a file of the open folder (type a few letters)
Ctrl+Shift+PScriptorium command palette (everything is in there)
F1Editor commands (format, sort, fold, transform…)
Ctrl+GGo to line…
Ctrl+Shift+FFind in all files of the folder
Ctrl+BShow / hide the explorer
Ctrl+Shift+MSwitch Notepad ↔ Code
Ctrl+Shift+XExtensions
Ctrl+,Settings

Find and replace

Ctrl+FFind (options: case, whole word, regular expression)
Ctrl+HReplace
F3Next match
Shift+F3Previous match
Alt+EnterSelect all found matches

Edit

Ctrl+ZUndo
Ctrl+YRedo
Ctrl+XCut (no selection: the whole line)
Ctrl+CCopy
Ctrl+VPaste
Ctrl+ASelect all
Ctrl+DSelect the next occurrence of the word (then type: multi-cursor)
Ctrl+Shift+LSelect all occurrences of the word
Alt+clickAdd a cursor
Ctrl+Alt+↑Add a cursor above
Ctrl+Alt+↓Add a cursor below
Alt+↑Move line up
Alt+↓Move line down
Shift+Alt+↓Duplicate the line
Ctrl+Shift+KDelete the line
Ctrl+EnterInsert a line below
Ctrl+Shift+EnterInsert a line above
Ctrl+LSelect the line
Ctrl+/Comment / uncomment
Shift+Alt+ABlock comment
Ctrl+]Indent
Ctrl+[Outdent
Shift+Alt+FFormat the document (HTML, CSS, JS, JSON…)
Ctrl+BackspaceDelete the previous word
F5Insert the date and time

Suggestions and snippets

Ctrl+SpaceShow suggestions
TabAccept a snippet or an abbreviation, then jump to the next field
Shift+TabPrevious snippet field
EscClose suggestions

Fold code

Ctrl+Shift+[Fold the block
Ctrl+Shift+]Unfold the block
Ctrl+K Ctrl+0Fold all
Ctrl+K Ctrl+JUnfold all

View and preview

Alt+ZWord wrap
Ctrl+Shift+VShow / hide the preview (Markdown, web page, SVG)
Ctrl+=Zoom in
Ctrl+-Zoom out
Ctrl+0Reset zoom
Ctrl+wheelZoom with the wheel
F11Full screen

Mouse

clickMiddle-click a tab: close it · right-click: tab menu
dragIn the explorer: drag a file or folder onto a folder to move it (with Ctrl: copy it)
dragDrag a tab to move it; drag a file, folder or .scrext into the window to open it
clickDouble-click the preview divider: default width · right-click in the explorer: new file, rename, recycle bin…

The command palette (Ctrl+Shift+P) also lists Scriptorium actions with their shortcut: type a few letters to find one.