Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Word Scalpel

Grich HiranyaphinantGrich Hiranyaphinant73 downloads

Precise word deletion for Thai and Japanese — fixes Option+Backspace so it deletes one word at a time instead of the entire sentence.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates2

An Obsidian plugin that fixes Option+Backspace (delete word) for Thai and Japanese text.

The problem

In English, Option+Backspace deletes one word at a time — stopping at spaces and punctuation. That works because English separates words with spaces.

Thai and Japanese don't. Words run together with no spaces between them, so Obsidian's default behaviour treats an entire sentence (up to the last space) as a single "word" and deletes all of it. One keypress, entire sentence gone.

Google Docs and Microsoft Word handle this correctly because they use language-aware word segmentation. Obsidian (built on CodeMirror) doesn't — so this plugin fixes it.

The fix

Word Scalpel intercepts Option+Backspace and, when the cursor is positioned after Thai or Japanese text, uses the browser's built-in Intl.Segmenter API to find the correct word boundary. One keypress deletes exactly one word.

For English and other space-delimited languages, the default Obsidian behaviour is unchanged.

Supported scripts

Script Example
Thai สวัสดี
Japanese Hiragana こんにちは
Japanese Katakana コンピュータ
Japanese Kanji 日本語

Installation

From the community plugin list (recommended)

  1. Open Obsidian Settings → Community plugins
  2. Disable Safe Mode if prompted
  3. Click Browse and search for Word Scalpel
  4. Install and enable

Manual

  1. Download main.js, manifest.json, and styles.css from the latest release
  2. Copy them to .obsidian/plugins/word-scalpel/ in your vault
  3. Enable the plugin in Settings → Community plugins

How it works

The plugin registers a CodeMirror 6 extension that intercepts Alt-Backspace with the highest priority. When triggered:

  1. It checks the character immediately before the cursor
  2. If it's Thai or Japanese, it uses Intl.Segmenter with the appropriate locale (th or ja) to find word boundaries in the current line
  3. It deletes exactly the last segment
  4. If it's any other script, the keypress falls through to Obsidian's default handler

Author

Grich Hiranyaphinant — GitHub

License

MIT

HealthExcellent
ReviewSatisfactory
About
Fix Option/Alt+Backspace to delete one word at a time in Thai and Japanese by using the browser's Intl.Segmenter to find proper word boundaries. Preserve default deletion for space-delimited languages so English still deletes by spaces and punctuation.
EditingLanguages
Details
Current version
1.0.1
Last updated
2 months ago
Created
2 months ago
Updates
2 releases
Downloads
73
Compatible with
Obsidian 0.15.0+
Platforms
Desktop, Mobile
Report bugRequest featureReport plugin
Author
Grich HiranyaphinantGrich Hiranyaphinantgrichshiran
GitHubgrichshiran
  1. Community
  2. Plugins
  3. Editing
  4. Word Scalpel

Related plugins

Simplified Chinese Word Splitting

Adds Simplified Chinese word splitting support for the editor and Vim mode.

LanguageTool

Unofficial integration of the LanguageTool spell and grammar checker.

Advanced Tables

Improved table navigation, formatting, and manipulation.

Meta Bind

Make your notes interactive with inline input fields, metadata displays, and buttons.

Outliner

Work with your lists like in Workflowy or Roam Research.

Creases

Tools for effectively folding Markdown sections.

LanguageTool Integration

advanced spell/grammar checks with the help of language-tool.

MetaEdit

Manage your metadata.

Various Complements

Complete words similar to auto-completion in an IDE.

CSS Editor

Edit CSS snippet files.