MDViewer

Keyboard shortcuts

2026-07-27 304 words 2 min read

Every MDViewer shortcut. Press ? at any time to bring this list up in the page.

Shortcuts

Press ? on any page to bring up this list. Shortcuts switch off automatically while a text field has focus, so they never get in the way of typing.

Files

Shortcut Action
O Open a folder
Shift + O Open a single file
J Next file
K Previous file
R Reload the current file (pick up changes on disk)
Shortcut Action
/ or Ctrl + K Full-text search across files
F or Ctrl + F Find within the current document
Move through the result list
Enter Open the selection / jump to the next match
Shift + Enter Jump to the previous match
Esc Close the overlay

Interface

Shortcut Action
B Show / hide the file tree on the left
T Show / hide the outline on the right
D Cycle the theme (light → dark → follow system)
, Open the reading settings
? Show the shortcut help

Scrolling

Shortcut Action
G G Press twice to return to the top
Shift + G Jump to the bottom

Editing

Shortcut Action
M Enter / leave edit mode
Ctrl + S Save the current document (write back to the original file)
Ctrl + B Bold the selection
Ctrl + I Italicise the selection
Ctrl + K Insert a link
Tab / Shift + Tab Indent / outdent the selected lines
Enter Continue the list; press it on an empty item to end the list

Export

Shortcut Action
E Export as a single HTML file
P or Ctrl + P Open the PDF export options

Image lightbox

Available once an image is enlarged:

Shortcut Action
+ / = Zoom in
- Zoom out
0 Reset the zoom
Esc Close
Scroll wheel Zoom
Drag Pan once zoomed in
Double-click Toggle between 1× and 2×

Tip

On macOS, every Ctrl combination also works with Cmd.