From 9a9a707a10725895dd010ddfc9e648fe586bf6bb Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Mon, 6 Jan 2025 01:47:38 -0800 Subject: [PATCH] Add migemo --- init.el | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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