summaryrefslogtreecommitdiff
path: root/input-conf.el
diff options
context:
space:
mode:
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