Thai Bracket Remap
approvedby Poom
แปลงตัวอักษร ฃ ให้กลายเป็น [ และ ฅ ให้กลายเป็น ] ทันทีที่พิมพ์ในตัวแก้ไข - This plugin has not been manually reviewed by Obsidian staff.
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
ฃ and ฅ are obsolete Thai consonants that no longer appear in modern Thai spelling, so this plugin repurposes their keyboard positions as convenient shortcuts for typing square brackets — handy for wiki-links ([[...]]) and Markdown syntax without reaching for a different keyboard layout.
The remap happens instantly as you type, with no extra keystrokes needed.
Installation
Via BRAT (recommended for beta/manual installs)
- 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 เล็กๆ ที่แปลงตัวอักษรไทยที่แทบไม่ได้ใช้แล้ว (ฃ, ฅ) ให้กลายเป็นวงเล็บเหลี่ยมขณะพิมพ์:
- พิมพ์
ฃ→ ได้[ - พิมพ์
ฅ→ ได้]
ทำงานทันทีที่พิมพ์ในหน้าต่างแก้ไข (editor) ของ Obsidian โดยไม่ต้องกด backspace ลบเอง เหมาะสำหรับพิมพ์ wiki-link ([[...]]) หรือ syntax Markdown โดยไม่ต้องสลับ layout คีย์บอร์ด
วิธีติดตั้ง (manual install)
- เปิดโฟลเดอร์ vault ของคุณ แล้วไปที่
.obsidian/plugins/(ถ้าไม่มีโฟลเดอร์pluginsให้สร้างขึ้นมาเอง) - สร้างโฟลเดอร์ใหม่ชื่อ
thai-bracket-remap - คัดลอกไฟล์
manifest.jsonและmain.jsใส่ในโฟลเดอร์นั้น - เปิด Obsidian → Settings → Community plugins → ปิด Restricted mode ถ้าเปิดอยู่ → Reload → เปิดใช้งานปลั๊กอิน
ถ้าอยากแก้ไขคู่ตัวอักษรอื่น
เปิดไฟล์ 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.