by Poom
แปลงตัวอักษร ฃ ให้กลายเป็น [ และ ฅ ให้กลายเป็น ] ทันทีที่พิมพ์ในตัวแก้ไข
Thai Bracket Remap
An Obsidian plugin that remaps two rarely-used Thai characters to square brackets while typing in the editor:
- Typing
ซinserts[instead - Typing
ฅinserts]instead
On the Kedmanee layout those letters sit on the same physical keys as English [ and ] (ข/ซ on [, ค/ฅ on ]). The point is not to hunt for another key — it is to type [[wiki-links]] and Markdown brackets without switching from Thai to English.
ซ and ฅ are obsolete Thai consonants that almost never appear in modern spelling, so the plugin reuses them as instant bracket shortcuts. The remap happens as you type; no extra keystrokes.
Installation
Already listed in Community plugins: search Thai Bracket Remap, or open https://community.obsidian.md/plugins/thai-bracket-remap
Via BRAT (beta / sideload)
- Install the BRAT community plugin.
- In BRAT, choose "Add Beta plugin" and enter:
khunpoom/Thai-bracket-remap - BRAT will install and keep it updated automatically.
Manual installation
- Download
manifest.jsonandmain.jsfrom the latest release. - Create a folder named
thai-bracket-remapinside your vault's.obsidian/plugins/directory. - Place both files inside it:
YourVault/.obsidian/plugins/thai-bracket-remap/ ├── manifest.json └── main.js - In Obsidian, go to Settings → Community plugins, disable Restricted mode if needed, then reload and enable "Thai Bracket Remap".
Customizing the character mapping
Open main.js and edit the CHAR_MAP object:
const CHAR_MAP = {
'ซ': '[',
'ฅ': ']',
};
Add or change character pairs as you like, then reload the plugin for changes to take effect.
ภาษาไทย
ปลั๊กอิน Obsidian ที่แปลงตัวอักษรไทยที่แทบไม่ได้ใช้แล้ว (ซ, ฅ) ให้กลายเป็นวงเล็บเหลี่ยมขณะพิมพ์:
- พิมพ์
ซ→ ได้[ - พิมพ์
ฅ→ ได้]
บนแผ้น Kedmanee ตัวอักษรสองตัวนี้อยู่ ปุ่มเดียวกับ [ / ] ของแผ้นอังกฤษ (ข/ซ อยู่ปุ่ม [, ค/ฅ อยู่ปุ่ม ]) จุดประสงค์ไม่ใช่หาปุ่มอื่น — จุดหมายคือ ไม่ต้องสลับภาษา เมื่อต้องการพิมพ์ wiki-link ([[...]]) หรือ Markdown
ทำงานทันทีที่พิมพ์ในหน้าต่างแก้ไข (editor) ของ Obsidian
วิธีติดตั้ง (Community plugins)
ค้นหา Thai Bracket Remap ใน Community plugins ของ Obsidian แล้วกด Install
ถ้าอยากแก้คู่ตัวอักษรอื่น
เปิดไฟล์ main.js แล้วแก้ใน object CHAR_MAP ตามต้องการ แล้วรีโหลดปลั๊กอิน
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.