Procházet zdrojové kódy

Update mozc configs

master
10sr před 4 roky
rodič
revize
54dc15f1a0
Podepsáno: 10sr ID GPG klíče: C384BB17CBB19347
1 změnil soubory, kde provedl 8 přidání a 8 odebrání
  1. +8
    -8
      emacs.el

+ 8
- 8
emacs.el Zobrazit soubor

@@ -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-<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'.")



Načítá se…
Zrušit
Uložit