Skip to content

Keyboard Shortcuts

VMark is designed for keyboard-first workflows. Most shortcuts can be customized in Settings. A few — such as multi-cursor shortcuts (Select Next Occurrence, Select All Occurrences), Undo, and Redo — are not yet customizable.

Notation

  • Mod = Cmd on macOS, Ctrl on Windows/Linux
  • Alt = Option on macOS

Function Keys on macOS

VMark uses function keys (F4–F9) 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:

  1. Open System SettingsKeyboard
  2. Enable "Use F1, F2, etc. keys as standard function keys"

Alternatively, hold the Fn key when pressing F4–F9 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

KeyAction
F2Next Issue
Shift + F2Previous Issue
F4Sort Lines Ascending
Shift + F4Sort Lines Descending
F5Source Peek
F6Toggle Source Mode
F7Toggle Status Bar
F8Focus Mode
F9Typewriter Mode

Edit

ActionShortcut
UndoMod + Z
RedoMod + Shift + Z

Text Formatting

ActionShortcut
BoldMod + B
ItalicMod + I
UnderlineMod + U
StrikethroughMod + Shift + X
Inline CodeMod + Shift + `
HighlightMod + Shift + M
SubscriptAlt + Mod + =
SuperscriptAlt + Mod + Shift + =
LinkMod + K
Open Link (Source mode)Cmd + Click
Remove LinkAlt + Shift + K
Wiki LinkAlt + Mod + K
Bookmark LinkAlt + Mod + B
Clear FormattingMod + \

Block Formatting

ActionShortcut
Heading 1-6Mod + 1 through Mod + 6
ParagraphMod + Shift + 0
Increase Heading LevelAlt + Mod + ]
Decrease Heading LevelAlt + Mod + [
BlockquoteAlt + Mod + Q
Code BlockAlt + Mod + C
Bullet ListAlt + Mod + U
Ordered ListAlt + Mod + O
Task ListAlt + Mod + X
IndentMod + ]
OutdentMod + [
Horizontal LineAlt + Mod + -

Line Operations

ActionShortcut
Move Line UpAlt + Up
Move Line DownAlt + Down
Duplicate LineShift + Alt + Down
Delete LineMod + Shift + K
Join LinesMod + J
Sort Lines AscendingF4
Sort Lines DescendingShift + F4

Text Transformations

ActionmacOSWindows/Linux
UPPERCASECtrl + Shift + UAlt + Shift + U
lowercaseCtrl + Shift + LAlt + Shift + L
Title CaseCtrl + Shift + TAlt + Shift + T
Toggle Quote StyleShift + Mod + 'Shift + Mod + '

Insert

ActionShortcut
Insert ImageMod + Shift + I
Insert Video
Insert Audio
Insert TableMod + Shift + T
Inline MathAlt + Mod + M
Math BlockAlt + Mod + Shift + M
Insert NoteAlt + Mod + N
Insert TipAlt + Mod + Shift + T
Insert WarningMod + Shift + W
Insert ImportantAlt + Mod + Shift + I
Insert CautionMod + Shift + U
Insert CollapsibleAlt + Mod + D
Insert DiagramAlt + Shift + Mod + D
Insert MindmapAlt + Shift + Mod + K
Toggle CommentMod + /

Selection & Multi-Cursor

ActionShortcut
Select LineMod + L
Expand SelectionCtrl + Shift + Up
Select Next OccurrenceMod + D
Skip OccurrenceMod + Shift + D
Select All OccurrencesMod + Shift + L
Soft Undo CursorAlt + Mod + Z
Add Cursor AboveMod + Alt + Up
Add Cursor BelowMod + Alt + Down
Collapse Multi-CursorEscape

Find & Replace

ActionShortcut
Find & ReplaceMod + F
Find NextMod + G
Find PreviousMod + Shift + G
Use Selection for FindMod + E

View & Mode

ActionShortcut
Toggle Source ModeF6
Toggle Status BarF7
Focus ModeF8
Typewriter ModeF9
Actual SizeMod + 0
Zoom InMod + =
Zoom OutMod + -
Word WrapAlt + Z
Toggle OutlineCtrl + Shift + 1
Toggle File ExplorerCtrl + Shift + 2
Toggle HistoryCtrl + Shift + 3
Toggle Line NumbersAlt + Mod + L
Toggle TerminalCtrl + `
Toggle Diagram PreviewAlt + Mod + P
Fit Tables to Width(customizable)
Universal ToolbarMod + Shift + P
Source PeekF5
Check MarkdownAlt + Mod + V
Next IssueF2
Previous IssueShift + F2

File Operations

ActionShortcut
New FileMod + N
Quick OpenMod + O
Open WorkspaceMod + Shift + O
SaveMod + S
Save AsMod + Shift + S
Save All and QuitAlt + Mod + Shift + Q
Move toMenu only
CloseMod + W
Export HTMLMenu only
PrintMod + P
Export PDF
SettingsMod + ,

Clipboard

ActionShortcut
Copy as HTMLMod + Shift + C
Paste Plain TextMod + Shift + V

AI Genies

ActionShortcut
Open AI GeniesMod + Y
Accept suggestionEnter
Reject suggestionEscape
Next suggestionTab
Previous suggestionShift + Tab
Accept all suggestionsMod + Shift + Enter
Reject all suggestionsMod + Shift + Escape

CJK Formatting

ActionShortcut
Format SelectionMod + Shift + F
Format DocumentAlt + Mod + Shift + F

Window & Tabs

ActionShortcut
New WindowMod + Shift + N
New TabMod + T
Close TabMod + W
Toggle Hidden FilesMod + Shift + .
Toggle All Files(customizable)

Windows/Linux Note

Toggle Hidden Files uses Ctrl + H on Windows and Linux.

Help (macOS only)

ActionShortcut
Search MenusCmd + 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.

ContextTab Action
Before ), ], }, quotesJump past closing character
Before CJK brackets , , etc.Jump past closing bracket
Inside bold, italic, codeJump after formatting
Inside a linkJump after link
ContextShift+Tab Action
After (, [, {, quotesJump before opening character
After CJK brackets , , etc.Jump before opening bracket
Inside bold, italic, codeJump before formatting
Inside a linkJump 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:

ActionShortcut
Next CellTab
Previous CellShift + Tab
Add Row BelowMod + Enter
Add Row AboveMod + Shift + Enter
Delete RowMod + Backspace
Format TableAlt + Mod + T
Exit TableArrow keys at table edge

When a popup is open (link, image, math, etc.):

ActionShortcut
Close PopupEscape
Confirm/SaveEnter
Navigate FieldsTab / Shift + Tab

Math Block Editing

When editing a math block:

ActionShortcut
Commit & ExitMod + Enter
Cancel & ExitEscape

Terminal

When the integrated terminal is focused:

ActionShortcut
Toggle TerminalCtrl + `
CopyMod + C (with selection)
PasteMod + V
ClearMod + K
SearchMod + F

When the terminal search bar is open:

ActionShortcut
Next MatchEnter
Previous MatchShift + Enter
Close SearchEscape

TIP

Mod + C without a selection sends SIGINT to the running process. See Integrated Terminal for the full guide.

Customizing Shortcuts

  1. Open Settings with Mod + ,
  2. Navigate to the Shortcuts tab
  3. Click on any shortcut to edit
  4. Press your desired key combination
  5. Changes are saved automatically

TIP

Shortcuts sync with menu accelerators when applicable, so menu items will show your customized shortcuts.