Easy Typing

by yaozhuwa
5
4
3
2
1
Score: 82/100

Description

Category: Note Enhancements

The Easy Typing plugin for Obsidian is designed to enhance the writing experience by automating text formatting and symbol editing. With its core features, you can capitalize the first letter of each line, add spaces between specific parts, and even define custom rules for handling special text formats. The plugin also includes a range of edit enhancements, such as auto-pairing and deleting symbols, converting full-width characters to half-width, and more. Additionally, you can customize conversion rules for various editing scenarios and access built-in commands to simplify your workflow. With its experimental features, Easy Typing is poised to revolutionize the way you write in Obsidian.

Reviews

No reviews yet.

Stats

780
stars
373,463
downloads
27
forks
1,993
days
2
days
2
days
8
total PRs
1
open PRs
4
closed PRs
3
merged PRs
351
total issues
51
open issues
300
closed issues
188
commits

Latest Version

3 days ago

Changelog

更新内容

  • 开启「增强代码块编辑」后,在行内代码中按 Cmd/Ctrl+A,可先选中内容,不包含两侧反引号。(#373)
  • 修复 Obsidian 1.15 中无法用 Tab 跳出行内代码的问题。
  • 修复启用前缀词典后,粘贴中英文混合文本时严重卡顿的问题。(#378)
  • 修复输入法输入时误触发其他已打开笔记中的规则的问题。感谢 GuiLuan 提交 #372。
  • 删除多余空行时,保留代码块内的空行和表格前的必要空行。(#349、#375)
  • 修复带标题等附加信息的代码块无法切换注释、按语言匹配规则的问题。(#377)
  • 修复 #a_code 等标签被误判为代码或公式,导致错误加空格或匹配规则的问题。(#367)
  • 修复自定义正则区块对旧版默认配置、换行符、注释及行尾空白的误报。错误直接显示在设置项旁,插件加载时只提醒一次,输入时不再反复弹窗。(#379)

Changes

  • With Better Code Edit enabled, Cmd/Ctrl+A inside inline code selects its contents first, without the backticks. (#373)
  • Restored Tab navigation out of inline code on Obsidian 1.15.
  • Fixed severe lag when pasting mixed Chinese/English text with a prefix dictionary. (#378)
  • Fixed IME input in one editor triggering rules in another open note. Thanks to GuiLuan for #372.
  • Deleting blank lines now preserves blank lines inside code blocks and the separator before tables. (#349, #375)
  • Fixed comment toggling and language-scoped rules in code blocks with titles or other metadata. (#377)
  • Fixed tags such as #a_code being mistaken for code or math, causing incorrect spacing or rule matching. (#367)
  • Fixed custom regex configuration errors caused by legacy defaults, line endings, comments, and trailing whitespace. Errors now appear beside the setting, with one summary when the plugin loads, instead of repeated notices while typing. (#379)

开发维护 / Development

  • 更新 TypeScript、esbuild 和 Obsidian API 类型依赖,固定依赖锁文件,并增加回归测试。
  • Updated TypeScript, esbuild, and Obsidian API types, committed a dependency lockfile, and added regression tests.

Full Changelog: https://github.com/Yaozhuwa/easy-typing-obsidian/compare/6.0.9...6.0.10

README file from

Github

Obsidian Downloads latest download

[中文 | English]

Easy Typing is an enhancement plugin for Obsidian that improves the writing experience through automatic text formatting, smart editing enhancements, and a powerful rule engine for custom text transformations.

⚡ Quick Start

After installing and enabling the plugin, these features work out of the box — no configuration needed:

  • Auto-spacing between Chinese and English, Chinese and digits — cleaner typography
  • Auto full-width punctuation after CJK characters — no need to switch punctuation mode
  • Auto-pairing CJK brackets and quotes — type ( and ) is inserted automatically
  • Type ·· (two middle dots) to quickly create inline code — no need to switch to English for backticks
  • Tab to jump out of paired symbols — press Tab to escape brackets/quotes
  • Smart Backspace — clear empty list items and quote lines with one keystroke

💡 All auto-formatting actions can be undone immediately with Ctrl/Cmd+Z.

Want to customize further? Adjust each feature's behavior in the plugin settings.

Core Features

1. Text Auto-formatting

Automatically formats text as you type:

  • Auto-spacing between different script pairs (e.g. Chinese and English, Chinese and digits, etc.)
  • Auto-capitalize the first letter of sentences
  • Inline element spacing for code, formulas, and links — configurable as none, soft, or strict
  • User-defined regex blocks to protect special text patterns from formatting
  • Prefix dictionary to suppress premature space insertion while typing

Supports Chinese, Japanese, Korean, English, Russian, digits, and user-defined script categories.

Detailed documentation →

2. Edit Enhancements

Smart editing features that work as you type:

  • Better Code Edit: Enhanced editing inside code blocks (Cmd/Ctrl+A selection, Tab indent, delete, paste). In inline code, Cmd/Ctrl+A first selects the content without backticks; press again to continue the usual selection behavior.
  • Better Backspace: Enhanced deletion of empty list items and empty quote lines
  • Tabout: Press Tab to jump out of paired symbols (【】, (), 《》, quotes, inline code, etc.)
  • Enhanced Mod+A: Progressive selection expansion (current line → current block → entire document)
  • Smart Paste: Auto-add indentation and list/quote prefixes when pasting inside lists or quotes
  • Strict Line Break: Enter creates double line break (Markdown paragraph break)
  • Collapsed Heading Enter: Enter on a collapsed heading adds a sibling heading without expanding

Detailed documentation →

3. Rule Engine

A powerful, unified rule engine handles all text transformations with three rule types:

Type Trigger Example
Input Triggered when you type a matching pattern ·· → `$0` (inline code)
Delete Triggered on Backspace Delete $ → delete entire $...$ pair
SelectKey Triggered when you type after selecting text Select text + ¥ → $text$

The plugin ships with rich built-in rules (auto-pairing, full-width/half-width conversion, symbol shortcuts, etc.) and supports fully custom rules:

  • Regex matching with capture group references ([[1]], [[R1]])
  • Regex flags i / m / u for case-insensitive, multiline, and Unicode matching
  • Tabstop placeholders ($0, $1, ${1:default}) with Tab navigation
  • Scope-aware execution — restrict rules to one or more text, formula, or code contexts
  • Code-language filtering — optionally limit code-scope matches to a language like python
  • Function replacements — write JavaScript logic in the replacement field
  • Priority-based ordering and drag-and-drop reordering
  • Tab-triggered or auto-triggered
  • Import/Export user rules as JSON

Detailed documentation →

4. Built-in Commands

Command Default Hotkey Description
Format Article Mod+Shift+S Apply auto-formatting to the entire document
Format Selection/Line Mod+Shift+L Format selected text or current line
Delete Blank Lines Mod+Shift+K Remove extra blank lines while preserving code blocks and the blank line before tables
New Line After Current Mod+Enter Create new line below and jump to it
Insert Code Block Mod+Shift+N Convert selection to code block
Toggle Auto-format Ctrl+Tab Enable/disable auto-formatting
Toggle Comment Mod+/ Toggle comments (supports code block languages)
Select Block — Expand selection to current block

5. Other Settings

  • IME fixes: Compatibility options for Chinese IME, macOS context menu, and MS IME
  • File exclusion: Exclude specific files from auto-formatting by path pattern

Changelog

6.0.10 · 2026-11-14

  • With Better Code Edit enabled, Cmd/Ctrl+A inside inline code selects its contents first, without the backticks. (#373)
  • Restored Tab navigation out of inline code on Obsidian 1.15.
  • Fixed severe lag when pasting mixed Chinese/English text with a prefix dictionary. (#378)
  • Fixed IME input in one editor triggering rules in another open note. Thanks to GuiLuan for #372.
  • Deleting blank lines now preserves blank lines inside code blocks and the separator before tables. (#349, #375)
  • Fixed comment toggling and language-scoped rules in code blocks with titles or other metadata. (#377)
  • Fixed tags such as #a_code being mistaken for code or math, causing incorrect spacing or rule matching. (#367)
  • Fixed custom regex configuration errors caused by legacy defaults, line endings, comments, and trailing whitespace. Errors now appear beside the setting, with one summary when the plugin loads, instead of repeated notices while typing. (#379)

For a full changelog, see changelog.md

Acknowledgements

Support

If you like this plugin and want to say thanks, you can buy me a coffee here!

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.