summaryrefslogtreecommitdiff
path: root/input-conf.el
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2026-05-06 23:54:07 +0800
committerJSDurand <mmemmew@gmail.com>2026-05-06 23:54:07 +0800
commite667d1ee9acffa1b78b191ab3a53b2c9a1055785 (patch)
tree6105c714494a68bdc220f646b782b4a07ab9b6fc /input-conf.el
parentef6b5c2f6f1a54ad3af5c32c0e6ab2e269173646 (diff)
Ithkuil-related
* ibuffer.el (durand-ithkuil): Filter for Ithkuil-related buffers. (durand-bongo-set-filter): Add the above filter. * input-conf.el (durand-input-method-list): Add input method for Ithkuil and Hebrew. (durand-transient-punct, global-map): Add a key-binding for transiently inputting Chinese punctuation. * ithkuil.el: Define an input method for inputting transliteration of Ithkuil.
Diffstat (limited to 'input-conf.el')
-rw-r--r--input-conf.el14
1 files changed, 13 insertions, 1 deletions
diff --git a/input-conf.el b/input-conf.el
index 1ea7f0d..10cc6da 100644
--- a/input-conf.el
+++ b/input-conf.el
@@ -50,7 +50,9 @@
(setq durand-input-method-list
(list "devanagari-kyoto-harvard"
"tamil99"
- "chinese-zozy"))
+ "chinese-zozy"
+ "ithkuil"
+ "hebrew-full"))
(defun durand-toggle-input ()
"Toggle input method with my customizations."
@@ -143,5 +145,15 @@ more."
(goto-char start)
(insert converted)))
+;;; Chinese punctuation input
+
+(defun durand-transient-punct ()
+ "Switch the input method to chinese punctuation transiently."
+ (interactive)
+ (let ((default-transient-input-method "chinese-punct-b5"))
+ (activate-transient-input-method)))
+
+(define-key global-map (vector ?\C-,) #'durand-transient-punct)
+
(provide 'input-conf)
;;; input-conf.el ends here