diff options
author | JSDurand <mmemmew@gmail.com> | 2021-02-24 11:12:12 +0800 |
---|---|---|
committer | JSDurand <mmemmew@gmail.com> | 2021-02-24 11:12:12 +0800 |
commit | 43361742793189be2797d8c7767c44f6fa4fa8c2 (patch) | |
tree | a57a85d3d10907249fb45c7710d49d731ee5657e /init.el | |
parent | df81e44b85cbaf07b80425d5a9069950dcc954ee (diff) |
QoL changes and fix rime sending message
* elfeed-conf.el (elfeed-feeds): Apply more tags automatically.
* init.el (prepare-rime, global-map): Load rime automatically.
* rime-conf.el ("emacs-rime"): Don't send a message when sending
special letters to rime.
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -225,6 +225,22 @@ no effect." (define-key global-map (vector 3 101) #'elfeed) +;;; rime configuration to input Chinese. + +(load-after-function prepare-rime "rime-conf.el" "Load rime and launch it." nil + (durand-set-input-method)) + +;; The effect of super is to apply bitwise or to the key with +;; (ash 1 23). The codes are as follows. +;; +;; Alt Super Hyper Shift Control Meta +;; 22 23 24 25 26 27 + +;; However, for letters a-z, A-Z, [, ], \, ^, _, the effect of control +;; is to subtract the upcased character by 64; for letters a-z, A-Z, +;; the effect of shift is to apply `upcase' to it. +(define-key global-map (vector (logior (ash 1 23) ?i)) #'prepare-rime) + ;;; magit (load-after-function magit "magit-conf.el" "Load magit and launch it." nil |