diff --git a/emacs.el b/emacs.el index 3984c84..f15ffbb 100644 --- a/emacs.el +++ b/emacs.el @@ -2612,6 +2612,10 @@ Any output will be written to current buffer." (define-key input-decode-map "\e[1;5C" [C-right]) (define-key input-decode-map "\e[1;5D" [C-left]) +;; mozc + +(global-set-key (kbd "C-c m e") 'ignore) +(global-set-key (kbd "C-c m d") 'ignore) ;; mozc (when (locate-library "mozc") ;; https://tottoto.net/mac-emacs-karabiner-elements-japanese-input-method-config/ @@ -2629,22 +2633,18 @@ Any output will be written to current buffer." (interactive) (deactivate-input-method)) ;; (setq mozc-candidate-style 'echo-area) + (global-set-key (kbd "C-c m e") 'turn-on-input-method) + (global-set-key (kbd "C-c m d") 'turn-off-input-method) (require 'mozc-popup) (set-variable 'mozc-candidate-style 'popup) + ;; これいる? (require 'mozc-im) (setq default-input-method "japanese-mozc-im") (global-set-key (kbd "C-j") 'toggle-input-method) - (global-set-key (kbd "C-c m e") 'turn-on-input-method) - (global-set-key (kbd "C-c m d") 'turn-off-input-method) - ) ;; 日本語入力ぐぐる -;; (global-set-key -;; (kbd "C-" . turn-on-input-method) -;; ("C-" . turn-off-input-method)) -;; (setq mozc-candidate-style 'overlay) -;; (setq mozc-candidate-style 'echo-area) + ) (defvar my-cousel-recently-history nil "History of `my-counsel-recently'.")