| @@ -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;5C" [C-right]) | ||||
| (define-key input-decode-map "\e[1;5D" [C-left]) | (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 | ;; mozc | ||||
| (when (locate-library "mozc") | (when (locate-library "mozc") | ||||
| ;; https://tottoto.net/mac-emacs-karabiner-elements-japanese-input-method-config/ | ;; https://tottoto.net/mac-emacs-karabiner-elements-japanese-input-method-config/ | ||||
| @@ -2629,22 +2633,18 @@ Any output will be written to current buffer." | |||||
| (interactive) | (interactive) | ||||
| (deactivate-input-method)) | (deactivate-input-method)) | ||||
| ;; (setq mozc-candidate-style 'echo-area) | ;; (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) | (require 'mozc-popup) | ||||
| (set-variable 'mozc-candidate-style 'popup) | (set-variable 'mozc-candidate-style 'popup) | ||||
| ;; これいる? | |||||
| (require 'mozc-im) | (require 'mozc-im) | ||||
| (setq default-input-method "japanese-mozc-im") | (setq default-input-method "japanese-mozc-im") | ||||
| (global-set-key (kbd "C-j") 'toggle-input-method) | (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-<f11>" . turn-on-input-method) | |||||
| ;; ("C-<f12>" . 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'.") | (defvar my-cousel-recently-history nil "History of `my-counsel-recently'.") | ||||