Преглед на файлове

Update mozc configs

master
10sr преди 4 години
родител
ревизия
54dc15f1a0
Подписан от: 10sr GPG ключ ID: C384BB17CBB19347
променени са 1 файла, в които са добавени 8 реда и са изтрити 8 реда
  1. +8
    -8
      emacs.el

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



Зареждане…
Отказ
Запис