Add migemo

This commit is contained in:
Alexander Rosenberg 2025-01-06 01:47:38 -08:00
parent 14467fb9f8
commit 9a9a707a10
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

12
init.el
View File

@ -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