summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2026-06-01 01:54:34 +0800
committerJSDurand <mmemmew@gmail.com>2026-06-01 01:54:34 +0800
commit51c828df5b15663f494f9bd34525235408169c82 (patch)
treeab6dbde6b6fa8782da1d4827b64b323106fb0664
parent9c39c55c212344171f2bedee70eb16b3c74acc10 (diff)
init: add global binding for toggle-input-method
* init.el (global-map): This function has the responsibility to load my custom input-method-toggle-function, so it should be bound to my preferred key.
-rw-r--r--init.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/init.el b/init.el
index 293abc7..bdd2270 100644
--- a/init.el
+++ b/init.el
@@ -312,6 +312,8 @@ no effect."
;;; Input method configuration
+(define-key global-map (vector 3 ?i) #'toggle-input-method)
+
(load-after-function toggle-input-method "input-conf.el"
"Load my configurations of input methods." nil)