Keyboard Shortcuts

Every shortcut Monofile binds itself, grouped by where it applies. If a key is not on this page, Monofile does not claim it, and it belongs to your browser or to the editor component you are in.

Global

Available anywhere in the app.

KeysAction
Mod + POpen the command palette in file quick-open
Mod + Shift + POpen the command palette in command mode
Mod + JShow or hide the AI chat panel
Mod + BShow or hide the sidebar
Mod + DSwitch between light and dark mode
Mod + ,Open Settings
EscClose the file preview modal

File tree

KeysAction
Alt + NNew file at the workspace root
Alt + Shift + NNew folder at the workspace root
Mod + clickAdd or remove one row from the selection
Shift + clickSelect a range of rows
EscClear the selection
DeleteDelete the selected files. Only when more than one row is selected
EnterCommit an inline name, when creating or renaming
EscCancel an inline name

Tabs and panes

KeysAction
Mod + Shift + VSwitch between raw source and rendered view, for markdown, HTML and canvas files

There is no save shortcut; Monofile saves as you type. There is no close-tab or switch-to-tab-N binding either; you manage tabs by click and drag. See Panes and Tabs.

The markdown editor

KeysAction
Mod + KOpen the inline composer. With text selected, the selection expands to whole blocks and the composer rewrites them
Alt + YAccept the pending inline AI change
Alt + NReject the pending inline AI change
/ at the start of a lineOpen the slash-command menu
`[[`Open wiki-link autocomplete
Up and DownMove through the slash or wiki-link menu
EnterInsert the highlighted slash command or link
EscClose the menu, or leave a mermaid, math or frontmatter block you are editing

Ordinary rich-text keys (bold, italic, undo, list indent) are the editor framework's defaults, unchanged. Code files use the code editor's own keymap, and drawings use the drawing canvas's own, and Monofile adds nothing on top of either.

AI chat

KeysAction
Mod + JShow or hide the panel
EnterSend the message
Shift + EnterInsert a newline instead of sending
EscClose the panel
Up and DownMove through @ file suggestions
Enter or TabInsert the highlighted file mention
EscClose the mention menu without closing the panel

The inline composer

Opened with Mod + K inside a markdown document.

KeysAction
EnterSubmit. With a selection, the result arrives in the document as an accept or reject change
Alt + EnterAsk a question about the selection instead of rewriting it. The answer goes to the chat panel
Shift + EnterInsert a newline
EscClose the composer

See The Inline Composer.

Canvas boards

These apply while a .canvas board has keyboard focus, so they never collide with the file tree or the global shortcuts. Editing keys need an editable board.

KeysAction
EnterFocus the selected file node, so you can interact with its content
EscLeave a focused node, or clear the selection
Delete or BackspaceDelete the selection
Mod + ZUndo
Mod + Shift + ZRedo
Mod + YRedo, alternate binding
Mod + CCopy the selection
Mod + VPaste
Mod + DDuplicate the selection
Mod + ASelect every node
Shift + dragBox-select
Mod + EnterCommit a multi-line text edit
EnterCommit a single-line field or an edge label
EscCancel the edit and restore the previous value

Elsewhere

KeysActionWhere
Mod + EnterPost the commentCommunity and file comments
EscCancel the reply or the editCommunity and file comments
EnterCreate the checkpointThe checkpoint name field
Backspace on an empty inputStep back out of a palette sub-pageCommand palette

Next steps

955 words