Keyboard Shortcuts
VMark is designed for keyboard-first workflows. Most shortcuts can be customized in Settings. A small number of primitives are fixed: the multi-cursor selectors Mod+D (Select Next Occurrence) and Mod+Shift+L (Select All Occurrences), and the global Undo/Redo bindings. The other multi-cursor shortcuts (Skip Occurrence, Soft Undo Cursor, Add Cursor Above/Below) are configurable. Shortcuts marked (context-aware) are handled inside the editor for specific structures (e.g., task list checkbox toggle) and are not exposed in the customization registry.
Notation
- Mod = Cmd on macOS, Ctrl on Windows/Linux
- Alt = Option on macOS
Function Keys on macOS
VMark uses function keys (F4–F10) for quick mode toggles. On macOS, these keys are mapped to system functions (brightness, volume, etc.) by default.
To use F-keys directly without holding Fn:
- Open System Settings → Keyboard
- Enable "Use F1, F2, etc. keys as standard function keys"
Alternatively, hold the Fn key when pressing F4–F10 to trigger VMark shortcuts.
TIP
If you prefer keeping system functions on F-keys, you can customize VMark shortcuts in Settings (Mod + ,) to use different key combinations.
F-Key Quick Reference
| Key | Action |
|---|---|
F2 | Next Issue |
Shift + F2 | Previous Issue |
F4 | Sort Lines Ascending |
Shift + F4 | Sort Lines Descending |
F5 | Source Peek |
F6 | Toggle Source Mode |
F7 | Toggle Status Bar |
F8 | Focus Mode |
F9 | Typewriter Mode |
F10 | Read-Only Mode |
Edit
| Action | Shortcut |
|---|---|
| Undo | Mod + Z |
| Redo | Mod + Shift + Z |
Text Formatting
| Action | Shortcut |
|---|---|
| Bold | Mod + B |
| Italic | Mod + I |
| Underline | Mod + U |
| Strikethrough | Mod + Shift + X |
| Inline Code | Mod + Shift + ` |
| Highlight | Mod + Shift + M |
| Subscript | Alt + Mod + = |
| Superscript | Alt + Mod + Shift + = |
| Link | Mod + K |
| Open Link (Source mode) | Cmd + Click |
| Remove Link | Alt + Shift + K |
| Wiki Link | Alt + Mod + K |
| Bookmark Link | Alt + Mod + B |
| Clear Formatting | Mod + \ |
| Cycle Emphasis | Mod + Alt + E (none → italic → bold → bold+italic) |
Block Formatting
| Action | Shortcut |
|---|---|
| Heading 1-6 | Mod + 1 through Mod + 6 |
| Paragraph | Mod + Shift + 0 |
| Increase Heading Level | Alt + Mod + ] |
| Decrease Heading Level | Alt + Mod + [ |
| Cycle Heading | Mod + Alt + H (P → H1 → H2 → … → H6) |
| Blockquote | Alt + Mod + Q |
| Code Block | Alt + Mod + C |
| Bullet List | Alt + Mod + U |
| Ordered List | Alt + Mod + O |
| Task List | Alt + Mod + X |
| Toggle Task Checkbox | Mod + Shift + Enter (context-aware; not customizable) |
| Cycle List Type | (customizable) |
| Indent | Mod + ] |
| Outdent | Mod + [ |
| Horizontal Line | Alt + Mod + - |
Line Operations
| Action | Shortcut |
|---|---|
| Move Line Up | Alt + Up |
| Move Line Down | Alt + Down |
| Duplicate Line | Shift + Alt + Down |
| Delete Line | Mod + Shift + K |
| Join Lines | Mod + J |
| Sort Lines Ascending | F4 |
| Sort Lines Descending | Shift + F4 |
Text Transformations
| Action | macOS | Windows/Linux |
|---|---|---|
| UPPERCASE | Ctrl + Shift + U | Alt + Shift + U |
| lowercase | Ctrl + Shift + L | Alt + Shift + L |
| Title Case | Ctrl + Shift + T | Alt + Shift + T |
| Toggle Case | (customizable) | (customizable) |
| Remove Blank Lines | (customizable) | (customizable) |
| Toggle Quote Style | Shift + Mod + ' | Shift + Mod + ' |
Insert
| Action | Shortcut |
|---|---|
| Insert Image | Mod + Shift + I |
| Insert Video | — |
| Insert Audio | — |
| Insert Table | Mod + Shift + T |
| Inline Math | Alt + Mod + M |
| Math Block | Alt + Mod + Shift + M |
| Insert Note | Alt + Mod + N |
| Insert Tip | Alt + Mod + Shift + T |
| Insert Warning | Mod + Shift + W |
| Insert Important | Alt + Mod + Shift + I |
| Insert Caution | Mod + Shift + U |
| Insert Collapsible | Alt + Mod + D |
| Insert Diagram | Alt + Mod + Shift + D |
| Insert Mindmap | Alt + Mod + Shift + K |
| Toggle Comment | Mod + / |
Selection & Multi-Cursor
| Action | Shortcut |
|---|---|
| Select Line | Mod + L |
| Expand Selection | Ctrl + Shift + Up |
| Select Next Occurrence | Mod + D |
| Skip Occurrence | Mod + Shift + D |
| Select All Occurrences | Mod + Shift + L |
| Soft Undo Cursor | Alt + Mod + Z |
| Add Cursor Above | Mod + Alt + Up |
| Add Cursor Below | Mod + Alt + Down |
| Collapse Multi-Cursor | Escape |
Find & Replace
| Action | Shortcut |
|---|---|
| Find & Replace | Mod + F |
| Find Next | Mod + G |
| Find Previous | Mod + Shift + G |
| Use Selection for Find | Mod + E |
| Find in Files | Mod + Shift + H |
View & Mode
| Action | Shortcut |
|---|---|
| Toggle Source Mode | F6 |
| Toggle Status Bar | F7 |
| Focus Mode | F8 |
| Typewriter Mode | F9 |
| Read-Only Mode | F10 |
| Actual Size | Mod + 0 |
| Zoom In | Mod + = |
| Zoom Out | Mod + - |
| Word Wrap | Alt + Z |
| Toggle Outline | Ctrl + Shift + 1 |
| Toggle File Explorer | Ctrl + Shift + 2 |
| Toggle History | Ctrl + Shift + 3 |
| Toggle Line Numbers (code blocks) | Alt + Mod + L |
| Toggle Terminal | Ctrl + ` |
| Toggle Diagram Preview | Alt + Mod + P |
| Fit Tables to Width | (customizable) |
| Universal Toolbar | Mod + Shift + P |
| Source Peek | F5 |
| Check Markdown | Alt + Mod + V |
| Next Issue | F2 |
| Previous Issue | Shift + F2 |
File Operations
| Action | Shortcut |
|---|---|
| New File | Mod + N |
| Quick Open | Mod + O (fuzzy file browser) |
| Open File... | Menu only (native file picker) |
| Open Workspace | Mod + Shift + O |
| Save | Mod + S |
| Save As | Mod + Shift + S |
| Save All and Quit | Alt + Mod + Shift + Q |
| Move to | Menu only |
| Close | Mod + W |
| Export HTML | Menu only |
Mod + P | |
| Export PDF | — |
| Settings | Mod + , |
Clipboard
| Action | Shortcut |
|---|---|
| Copy as HTML | Mod + Shift + C |
| Paste Plain Text | Mod + Shift + V |
AI Genies
| Action | Shortcut |
|---|---|
| Open AI Genies | Mod + Y |
| Accept suggestion | Enter |
| Reject suggestion | Escape |
| Next suggestion | Tab |
| Previous suggestion | Shift + Tab |
| Accept all suggestions | Mod + Shift + Enter |
| Reject all suggestions | Mod + Shift + Escape |
CJK Formatting
| Action | Shortcut |
|---|---|
| Format Selection | Mod + Shift + F |
| Format Document | Alt + Mod + Shift + F |
Window & Tabs
| Action | Shortcut |
|---|---|
| New Window | Mod + Shift + N |
| New Tab | Mod + T |
| Close Tab | Mod + W |
| Toggle Hidden Files | Mod + Shift + . |
| Toggle All Files | (customizable) |
Windows/Linux Note
Toggle Hidden Files uses Ctrl + H on Windows and Linux.
Help (macOS only)
| Action | Shortcut |
|---|---|
| Search Menus | Cmd + Shift + / |
TIP
This is a native macOS system shortcut that searches all menu items. Type a keyword to find and execute any menu action.
Smart Tab Navigation
Tab and Shift+Tab are context-aware — they escape brackets, quotes, formatting marks, and links.
| Context | Tab Action |
|---|---|
Before ), ], }, quotes | Jump past closing character |
Before CJK brackets 」, 』, etc. | Jump past closing bracket |
Inside bold, italic, code | Jump after formatting |
| Inside a link | Jump after link |
| Context | Shift+Tab Action |
|---|---|
After (, [, {, quotes | Jump before opening character |
After CJK brackets 「, 『, etc. | Jump before opening bracket |
Inside bold, italic, code | Jump before formatting |
| Inside a link | Jump before link |
TIP
See Smart Tab Navigation for the complete guide including CJK brackets, curly quotes, and settings.
Table Editing
When cursor is inside a table:
| Action | Shortcut |
|---|---|
| Next Cell | Tab |
| Previous Cell | Shift + Tab |
| Add Row Below | Mod + Enter |
| Add Row Above | Mod + Shift + Enter |
| Delete Row | Mod + Backspace |
| Add Column Left | Alt + Mod + Left |
| Add Column Right | Alt + Mod + Right |
| Delete Column | Alt + Mod + Backspace |
| Align Column Left | Mod + Alt + Shift + L |
| Align Column Right | Mod + Shift + R |
| Align Column Center | (customizable) |
| Format Table | Alt + Mod + T |
| Exit Table | Arrow keys at table edge |
Popup Navigation
When a popup is open (link, image, math, etc.):
| Action | Shortcut |
|---|---|
| Close Popup | Escape |
| Confirm/Save | Enter |
| Navigate Fields | Tab / Shift + Tab |
Math Block Editing
When editing a math block:
| Action | Shortcut |
|---|---|
| Commit & Exit | Mod + Enter |
| Cancel & Exit | Escape |
Terminal
When the integrated terminal is focused:
| Action | Shortcut |
|---|---|
| Toggle Terminal | Ctrl + ` |
| Copy | Mod + C (with selection) |
| Paste | Mod + V |
| Clear | Mod + K |
| Search | Mod + F |
When the terminal search bar is open:
| Action | Shortcut |
|---|---|
| Next Match | Enter |
| Previous Match | Shift + Enter |
| Close Search | Escape |
TIP
Mod + C without a selection sends SIGINT to the running process. See Integrated Terminal for the full guide.
Customizing Shortcuts
- Open Settings with
Mod + , - Navigate to the Shortcuts tab
- Click on any shortcut to edit
- Press your desired key combination
- Changes are saved automatically
TIP
Shortcuts sync with menu accelerators when applicable, so menu items will show your customized shortcuts.