Skip to content

Hotkeys ​

In order to improve writing efficiency, WonderPen has shortcut keys for common operations. The following are some commonly used shortcut keys.

Interface shortcuts ​

ActionShortcuts (Windows/Linux)Shortcuts (Mac)
Focus/Toggle Tree PanelCtrl + 1⌘ + 1
Focus/Toggle Info PanelCtrl + 2⌘ + 2
Toggle Focus ModeAlt + Ctrl + FAlt + ⌘ + F
Toggle Preview ModeAlt + Ctrl + PAlt + ⌘ + P
Open Settings PanelAlt + Ctrl + S⌘ + ,
Lock InterfaceShift + Ctrl + LShift + ⌘ + L
One-Click FormattingF9F9
Zoom In InterfaceCtrl + +⌘ + +
Zoom Out InterfaceCtrl + -⌘ + -
Restore Interface ZoomCtrl + 0⌘ + 0

Directory tree operations ​

The directory tree is the leftmost panel of the main interface, used to display the directory structure of documents. It has three states: collapsed, expanded (with focus), and expanded (without focus). Press the shortcut key Ctrl + 1 (⌘ + 1 on macOS) to switch between the three states. The three states are shown in the figures below:

Directory tree: collapsed
Directory tree: expanded (with focus)
Directory tree: expanded (without focus)

When the directory tree is in the expanded (with focus) state, there are the following additional shortcuts:

  • You can use the arrow keys ↑, ↓ to move the focus up and down in the directory tree
  • Press Enter to create a new document below the currently selected document
ActionShortcuts (Windows/Linux)Shortcuts (Mac)
New DocumentCtrl + N⌘ + N
New Document AboveShift + Ctrl + NShift + ⌘ + N
New SubdocumentAlt + Ctrl + NAlt + ⌘ + N
Demote DocumentAlt + Ctrl + ]Alt + ⌘ + ]
Promote DocumentAlt + Ctrl + [Alt + ⌘ + [
Move Document UpAlt + Ctrl + ↑Alt + ⌘ + ↑
Move Document DownAlt + Ctrl + ↓Alt + ⌘ + ↓
Locate Selected DocumentCtrl + E⌘ + E

Editor component operations:

ActionShortcuts (Windows/Linux)Shortcuts (Mac)
Split EditorShift + Ctrl + \Shift + ⌘ + \
Format Current Document (One-Click Formatting)Ctrl + G or F9⌘ + G or F9
Find and ReplaceCtrl + F⌘ + F

The document editor in floating windows also supports Ctrl + G / ⌘ + G and F9 to trigger one-click formatting.

Document editing operations (active when the cursor is in the editor):

ActionShortcuts (Windows/Linux)Shortcuts (Mac)
BoldCtrl + B⌘ + B
ItalicCtrl + I⌘ + I

If no text is selected, pressing the bold or italic shortcut enters the corresponding input mode, and any text you type afterwards is automatically styled. Press the same shortcut again to exit.