diff --git a/init.el b/init.el index 966d271..6d1435c 100644 --- a/init.el +++ b/init.el @@ -492,6 +492,18 @@ directory. Otherwise, run `find-file' on that file." (require 'mozc nil t) (setq default-input-method "japanese-mozc") +;; migemo +(use-package migemo + :config + (setq migemo-dictionary "/usr/share/migemo/utf-8/migemo-dict" + migemo-coding-system 'utf-8-unix + migemo-regex-dictionary nil + migemo-user-dictionary nil + migemo-isearch-enable-p t) + (keymap-global-set "C-c w" 'isearch-forward) + (keymap-global-set "C-c W" 'isearch-backward) + (migemo-init)) + ;; undo-tree (use-package undo-tree :defer nil