zoukankan      html  css  js  c++  java
  • Shortcut Keys Configure of Typora

    Shortcut Keys Configure


    Summary

    You can use shortcut keys to quickly insert or modify styles or do other operations supported by Typora. You can find shortcut keys in the right side of each menu items from menu bar.

    Frequently Used Shortcut Keys

    • Autocomplete

    On macOS, you can press Esc key to open inline preview for inline math, auto-complete for emoji, etc.

    • File

    Function Hotkey (Windows/Linux) Hotkey (macOS)
    New Ctrl + N Command + N
    New Window Ctrl + Shift + N Command +Shift + N
    New Tab (Not Supported) Command + T
    Open Ctrl + O Command + O
    Open Quickly Ctrl + P Command + Shift + O
    Reopen Closed File Ctrl + Shift + T Command + Shift + T
    Save Ctrl + S Command + S
    Save As / Duplicate Ctrl + Shift + S Command + Shift + S
    Preference Ctrl + , Command + ,
    Close Ctrl + W Command + W
    • Edit

    Function Hotkey (Windows/Linux) Hotkey (macOS)
    New Paragraph Enter Enter
    New Line Shift + Enter Shift + Enter
    Cut Ctrl + X Command + X
    Copy Ctrl + C Command + C
    Paste Ctrl + V Command + V
    Copy As Markdown Ctrl + Shift + C Command + Shift + C
    Paste As Plain Text Ctrl + Shift + V Command + Shift + V
    Select All Ctrl + A Command + A
    Select Line/Sentence Select Row (in table) Ctrl + L Command + L
    Delete Row (in table) Ctrl + Shift + Backspace Command + Shift + Backspace
    Select Style Scope Select Cell (in table) Ctrl + E Command + E
    Select Word Ctrl + D Command + D
    Delete Word Ctrl + Shift + D Command + Shift + D
    Jump to Top Ctrl + Home Command + ↑
    Jump to Selection Ctrl + J Command + J
    Jump to Buttom Ctrl + End Command + ↓
    Find Ctrl + F Command + F
    Find Next F3 / Enter Command + G / Enter
    Find Previous Shift + F3 / Shift + Enter Command + Shift + G / Shift + Enter
    Replace Ctrl + H Command + H
    • Paragraph

    Function Hotkey (Windows/Linux) Hotkey (macOS)
    Heading 1 to 6 Ctrl + 1/2/3/4/5/6 Command + 1/2/3/4/5/6
    Paragraph Ctrl + 0 Command + 0
    Increase Heading Level Ctrl + = Command + =
    Decrease Heading Level Ctrl + - Command + -
    Table Ctrl + T Command + Option + T
    Code Fences Ctrl + Shift + K Command + Option + C
    Math Block Ctrl + Shift + M Command + Option + B
    Quote Ctrl + Shift + Q Command + Option + Q
    Ordered List Ctrl + Shift + [ Command + Option + O
    Unordered List Ctrl + Shift + ] Command + Option + U
    Indent Ctrl + [ / Tab Command + [ / Tab
    Outdent Ctrl + ] / Shift + Tab Command + ] / Shift + Tab
    • Format

    Function Hotkey (Windows/Linux) Hotkey (macOS)
    Strong Ctrl + B Command + B
    Emphasis Ctrl + I Command + I
    Underline Ctrl + U Command + U
    Code Ctrl + Shift + | Command + Shift +
    Strike Alt + Shift + 5 Control + Shift + `
    Hyperlink Ctrl + K Command + K
    Image Ctrl + Shift + I Command + Control + I
    Clear Format Ctrl + Command +
    • View

    Function Hotkey (Windows/Linux) Hotkey (macOS)
    Toggle Sidebar Ctrl + Shift + L Command + Shift + L
    Outline Ctrl + Shift + 1 Command + Control + 1
    Articles Ctrl + Shift + 2 Command + Control + 2
    File Tree Ctrl + Shift + 3 Command + Control + 3
    Source Code Mode Ctrl + / Command + /
    Focus Mode F8 F8
    Typewriter Mode F9 F9
    Toggler Fullscreen F11 Command + Option + F
    Actual Size Ctrl + Shift + 0 (Not Supported)
    Zoom In Ctrl + Shift + = (Not Supported)
    Zoom Out Ctrl + Shift + - (Not Supported)
    Switch Between Opened Documents Ctrl + Tab Command + `
    Toggle DevTools Ctrl + Shift + I -

    Windows / Linux Change Shortcut Keys

    This requires a version of Typora ≥ v0.9.16. Users can set or reassign shortcut keys for commands in Typora’s menu bar. This article will shows how to do this.

    1. Open MenuPreference in Typora, then click “Open Advanced Settings”.

    1. Open and edit conf.user.json from opened “File Explore”. If there’s no such file, create one.
    2. Set or add JSON object which represents a key binding, for example:

    1. Restart Typora, and the new key binding will be applied.

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

    人就像是被蒙着眼推磨的驴子,生活就像一条鞭子;当鞭子抽到你背上时,你就只能一直往前走,虽然连你也不知道要走到什么时候为止,便一直这么坚持着。
  • 相关阅读:
    Largest Rectangle in Histogram, 求矩形图中最大的长方形面积
    MergeSortedArray,合并两个有序的数组
    Remove Duplicates from Sorted List ,除去链表中相邻的重复元素
    Word Search, 在矩阵中寻找字符串,回溯算法
    SubSets,SubSets2, 求数组所有子集
    Longest Substring Without Repeating Characters,求没有重复字符的最长字串
    Minimum Window Substring, 包含子串的最小窗口,双指针
    Sort Colors,颜色排序
    Search a 2D Matrix,在有序矩阵查找,二分查找的变形; 行有序,列有序查找。
    EditDistance,求两个字符串最小编辑距离,动态规划
  • 原文地址:https://www.cnblogs.com/guochaoxxl/p/14615581.html
Copyright © 2011-2022 走看看