This article is from Wuchenji, and the updated content can be viewed in the original text: www.lixl.cn/2020/031019…

Abstract

You can use shortcuts to quickly insert or modify styles, or perform other actions supported by Typora.

You can find shortcut keys on the right side of each menu item in the menu bar.

Common Shortcut keys

Done automatically

On macOS, you can press Esc to open inline math preview, autocomplete emoticons, and more.

file

function Windows / Linux macOS
new Ctrl + N Command + N
A new window Ctrl + Shift + N Command + Shift + N
The new label (Not supported) Command + T
Open the Ctrl + O Command + O
Quickly open the Ctrl + P Command + Shift + O
Reopen the closed file Ctrl + Shift + T Command + Shift + T
save Ctrl + S Command + S
Save as/copy Ctrl + Shift + S Command + Shift + S
preferences Ctrl +, The Command +,
Shut down Ctrl + W Command + W

The editor

function Windows / Linux macOS
A new paragraph Enter Enter
New line Shift + Enter Shift + Enter
shear Ctrl + X Command + X
copy Ctrl + C Command + C
paste Ctrl + V Command + V
Copy for Markdown Ctrl + Shift + C Command + Shift + C
Paste to plain text Ctrl + Shift + V Command + Shift + V
select all Ctrl + A Command + A
Select the line/sentence

Select rows (in the table)
Ctrl + L Command + L
Delete rows (in table) Ctrl + Shift + Backspace Command + Shift + Backspace
Select style range

Select the cell (in the table)
Ctrl + E Command + E
Choose the word Ctrl + D Command + D
Delete the word Ctrl + Shift + D Command + Shift + D
Jump to the top Ctrl +Home The Command + write
Skip to choose Ctrl + J Command + J
Jump to the bottom Ctrl + End The Command + left
To find the Ctrl + F Command + F
Find the next one F3 / Enter Command + G / Enter
Find the last one Shift + F3 / Shift + Enter Command + Shift + G / Shift + Enter
replace Ctrl + H Command + H

The paragraph

function Windows / Linux macOS
Headings 1 to 6 Ctrl + 1/2/3/4/5/6 Command + 1/2/3/4/5/6
The paragraph Ctrl + 0 Command + 0
Add title Level Ctrl + = Command + =
Lower the title level Ctrl +- Command + –
table Ctrl + T Command + Option + T
Code fence Ctrl + Shift + K Command + Option + C
Math block Ctrl + Shift + M Command + Option + B
reference Ctrl + Shift + Q Command + Option + Q
An ordered list Ctrl + Shift + [ Command + Option + O
Unordered list Ctrl + Shift +] Command + Option + U
The indentation Ctrl + [ / Tab Command + [ / Tab
prominent Ctrl +] / Shift + Tab Command +] / Shift + Tab

format

function Windows / Linux macOS
bold Ctrl + B Command + B
Focus on Ctrl + I Command + I
The underline Ctrl + U Command + U
code Ctrl + Shift + | Command + Shift +
Strike Alt + Shift + 5 Ctrl + Shift + `
hyperlinks Ctrl + K Command + K
The picture Ctrl + Shift + I Command + Control + I
Clear format Ctrl + \ Comand + \

To view

function Windows / Linux macOS
Switch the sidebar Ctrl + Shift + L Command + Shift + L
The outline Ctrl + Shift + 1 Command + Shift + 1
The article Ctrl + Shift + 2 Command + Control + 2
The file tree Ctrl + Shift + 3 Command + Control + 3
Source code pattern Ctrl + / Command + /
Focused mode F8 F8
Typewriter mode F9 F9
Switch the full screen F11 Command + Option + F
The actual size Ctrl + Shift + 0 (Not supported)
amplification Ctrl + Shift + = (Not supported)
narrow Ctrl + Shift +- (Not supported)
Switch between open documents Ctrl + Tab Command + `
Switching development tools Ctrl + Shift + I

Change shortcut keys

Users can set or reassign command shortcuts in Typora’s menu bar.

MacOS

We used macOS system functionality to customize Typora’s key bindings on macOS.

  1. Open System Preference→ Keyboard and select the TAB Shortcuts. App Shortcuts is selected in its left pane.

  2. Click the “+” button and a dialog box will pop up. Select “Typora.app” Application from the field, then enter the exact name of the menu command to add, and then type the shortcut key combination to assign.

    For example, if you wanted to add/change shortcuts to fix Typora’s window, you could fill the dialog box as follows:

    Command+Shift+P will then become the shortcut for the menu Command “Always on top”

Windows / Linux

Tip: This requires version of Typora ≥ V0.9.16.

  1. Open Menu→ Preference in Typora and click open Advanced Settings.

  2. Conf.user. json is opened and edited from the open File Browse. If you don’t have one, create one.

  3. Set or add a JSON object representing a key binding, for example:

  4. Restart Typora to apply the new key binding.

You can set native window styles or change shortcut keys for menu items in the menu bar.

Q: Shortcuts don’t work on Ubuntu?

For a solution to this problem, see:

  • Help.ubuntu.com/community/K… and
  • Askubuntu.com/questions/2…

reference

  • The article translation: support. Typora. IO/Shortcut – Ke…