Skip to content

Instantly share code, notes, and snippets.

@Nyoho
Created January 6, 2014 07:37
Show Gist options
  • Save Nyoho/8279475 to your computer and use it in GitHub Desktop.
Save Nyoho/8279475 to your computer and use it in GitHub Desktop.
;;
;; for migemo -- migemo 最高
;;
(if (equal (call-process-shell-command "which cmigemo" nil t) 0)
(progn
(require 'migemo)
;; (load "migemo.el")
;; (setq migemo-use-pattern-alist t)
;; (setq migemo-use-frequent-pattern-alist t)
(setq migemo-command "cmigemo")
;; (setq migemo-options '("-q" "--emacs" "-i" "\a"))
;; (setq migemo-options '("-q" "--emacs" "-i" "\g"))
;; (setq migemo-dictionary "/usr/local/share/migemo/euc-jp/migemo-dict")
(setq migemo-user-dictionary nil)
(setq migemo-regex-dictionary nil)
(setq migemo-options '("-q" "--emacs"))
(setq migemo-dictionary "/usr/local/share/migemo/utf-8/migemo-dict")
(setq migemo-coding-system 'utf-8-unix)
(load-library "migemo")
(migemo-init)
))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment