Pārlūkot izejas kodu

Add disabled mozc config

master
10sr pirms 4 gadiem
vecāks
revīzija
c8ca11fe76
Parakstījis: 10sr GPG atslēgas ID: 7BEC428194130EB2
1 mainītis faili ar 22 papildinājumiem un 0 dzēšanām
  1. +22
    -0
      emacs.el

+ 22
- 0
emacs.el Parādīt failu

@@ -2569,6 +2569,28 @@ 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
(when nil
;; https://tottoto.net/mac-emacs-karabiner-elements-japanese-input-method-config/
(with-eval-after-load 'mozc
(define-key mozc-mode-map (kbd "C-h") 'backward-delete-char))
(setq default-input-method "japanese-mozc")
(custom-set-variables '(mozc-leim-title "あ"))
(defun turn-on-input-method ()
(interactive)
(activate-input-method default-input-method))
(defun turn-off-input-method ()
(interactive)
(deactivate-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)


;; Local Variables:
;; flycheck-disabled-checkers: (emacs-lisp-checkdoc)
;; flycheck-checker: emacs-lisp


Notiek ielāde…
Atcelt
Saglabāt