Keyboard Shortcuts

On macOS, Cmd is the modifier. On Windows/Linux, use Ctrl instead.

General

Cmd+P Command palette
Cmd+S Save document
Cmd+Shift+P Toggle preview
Cmd+\ Toggle split view
Cmd+Shift+F Fullscreen / immersive mode
Esc Exit overlay / immersive

Formatting

Cmd+B Bold
Cmd+I Italic
Cmd+K Insert link
Cmd+E Inline code
Cmd+Shift+K Code block
Cmd+Shift+. Blockquote

Navigation

Cmd+G Go to line
Cmd+F Find
Cmd+H Find and replace
Cmd+Shift+E Focus sidebar

Vim mode

Enable vim keybindings from the command palette (Cmd+P → "vim"). Standard vim motions, operators, and text objects are supported via CodeMirror's vim extension.