Skip to main 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

ActionsShortcuts (Windows/Linux)Shortcuts (Mac)
Focus/Toggle Tree PanelCtrl + 1 + 1
Focus/Toggle Info PanelCtrl + 2 + 2
Toggle Composition ModeAlt + Ctrl + FAlt + + F
Toggle Preview ModeAlt + Ctrl + PAlt + + P
Open Settings PanelCtrl + , + ,
Lock ScreenShift + Ctrl + LShift + + L
Zoom InCtrl + + + +
Zoom outCtrl + - + -
Zoom RestoreCtrl + 0 + 0

Directory shortcuts

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

Directory: collapsed
Directory: expanded (with focus)
Directory: 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
  • You can use the number keys 1, 2, 3 to switch between document, whiteboard, star in the directory tree if the panels are displayed horizontally.
Directory tree: press the number keys 1, 2, 3 to switch
ActionsShortcuts (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 the Selected DocumentCtrl + E + E

Editor component operations:

ActionsShortcuts (Windows/Linux)Shortcuts (Mac)
Editor SplitShift + Ctrl + \Shift + + \
Format the Current Document (One-Click Formatting)Ctrl + G + G
Find and ReplaceCtrl + F + F

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

ActionsShortcuts (Windows/Linux)Shortcuts (Mac)
Select AllCtrl + A + A
Delete the current lineCtrl + D + D
UndoCtrl + Z + Z
RedoCtrl + Y
Shift + Ctrl + Z
+ Y
Shift + + Z
Go to beginning of paragraphAlt + Ctrl + A
Go to end of paragraphAlt + Ctrl + E
Increase indentCtrl + ] + ]
Reduce indentCtrl + [ + [
Delete to start of line- + Backspace
Delete to end of line- + Delete
Delete the character before the cursor- + H
Delete one character after the cursor- + D
Delete the character to the right of the cursor in the current paragraph-Ctrl + K
Swap the left and right characters of the cursor-Ctrl + T