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+N
New file
Ctrl+O
Open a file
Ctrl+Shift+O
Open a folder
Ctrl+S
Save
Ctrl+Shift+S
Save as…
Ctrl+Alt+S
Save all
Ctrl+W
Close the tab
Ctrl+Tab
Next tab
Ctrl+Shift+Tab
Previous tab
Get around fast
Ctrl+P
Go to a file of the open folder (type a few letters)
Ctrl+Shift+P
Scriptorium command palette (everything is in there)
F1
Editor commands (format, sort, fold, transform…)
Ctrl+G
Go to line…
Ctrl+Shift+F
Find in all files of the folder
Ctrl+B
Show / hide the explorer
Ctrl+Shift+M
Switch Notepad ↔ Code
Ctrl+Shift+X
Extensions
Ctrl+,
Settings
Find and replace
Ctrl+F
Find (options: case, whole word, regular expression)
Ctrl+H
Replace
F3
Next match
Shift+F3
Previous match
Alt+Enter
Select all found matches
Edit
Ctrl+Z
Undo
Ctrl+Y
Redo
Ctrl+X
Cut (no selection: the whole line)
Ctrl+C
Copy
Ctrl+V
Paste
Ctrl+A
Select all
Ctrl+D
Select the next occurrence of the word (then type: multi-cursor)
Ctrl+Shift+L
Select all occurrences of the word
Alt+click
Add 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+K
Delete the line
Ctrl+Enter
Insert a line below
Ctrl+Shift+Enter
Insert a line above
Ctrl+L
Select the line
Ctrl+/
Comment / uncomment
Shift+Alt+A
Block comment
Ctrl+]
Indent
Ctrl+[
Outdent
Shift+Alt+F
Format the document (HTML, CSS, JS, JSON…)
Ctrl+Backspace
Delete the previous word
F5
Insert the date and time
Suggestions and snippets
Ctrl+Space
Show suggestions
Tab
Accept a snippet or an abbreviation, then jump to the next field
Shift+Tab
Previous snippet field
Esc
Close suggestions
Fold code
Ctrl+Shift+[
Fold the block
Ctrl+Shift+]
Unfold the block
Ctrl+KCtrl+0
Fold all
Ctrl+KCtrl+J
Unfold all
View and preview
Alt+Z
Word wrap
Ctrl+Shift+V
Show / hide the preview (Markdown, web page, SVG)
Ctrl+=
Zoom in
Ctrl+-
Zoom out
Ctrl+0
Reset zoom
Ctrl+wheel
Zoom with the wheel
F11
Full screen
Mouse
click
Middle-click a tab: close it · right-click: tab menu
drag
In the explorer: drag a file or folder onto a folder to move it (with Ctrl: copy it)
drag
Drag a tab to move it; drag a file, folder or .scrext into the window to open it
click
Double-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.