From 54dc15f1a0d1fb8448b5f62587ed8957111bc9ad Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Sun, 12 Jan 2020 22:02:29 +0900 Subject: [PATCH] Update mozc configs --- emacs.el | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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'.")