| 1 |
Debian README of C/Migemo |
| 2 |
========================= |
| 3 |
|
| 4 |
How to use cmigemo in Emacs |
| 5 |
--------------------------- |
| 6 |
|
| 7 |
If you want to use cmigemo in Emacs, you should also install "migemo-el", |
| 8 |
which provides Emacsen interface for migemo. |
| 9 |
|
| 10 |
The default setting of migemo-el is suitable for UTF-8 environment. If |
| 11 |
you want to use migemo-el under EUC-JP environments, you should set as |
| 12 |
follows: |
| 13 |
|
| 14 |
;;; This is default settings of migemo-el |
| 15 |
;; @see /etc/emacs/site-start.d/50migemo-el |
| 16 |
;; ---- |
| 17 |
;; (setq migemo-command "/usr/bin/cmigemo") |
| 18 |
;; (setq migemo-options '("-q" "--emacs")) |
| 19 |
;; |
| 20 |
;; Default Dictionary -> UTF-8 |
| 21 |
;; |
| 22 |
;; (setq migemo-dictionary "/usr/share/cmigemo/utf-8/migemo-dict") |
| 23 |
;; (setq migemo-coding-system 'utf-8-unix) |
| 24 |
;; ---- |
| 25 |
;; If you want to use EUC-JP |
| 26 |
(setq migemo-dictionary "/usr/share/cmigemo/euc-jp/migemo-dict") |
| 27 |
(setq migemo-coding-system 'euc-jp-unix) |
| 28 |
;; load "migemo-el" |
| 29 |
(load-library "migemo") |
| 30 |
(migemo-init) |
| 31 |
|
| 32 |
How to use cmigemo in Vim |
| 33 |
--------------------------- |
| 34 |
|
| 35 |
If you want to use cmigemo in vim, you should also install "vim-migemo" |
| 36 |
and put migemo.vim from /usr/share/vim/addons/plugin/migemo.vim to |
| 37 |
~/.vim/plugin, or using vim-addon-manager as follows: |
| 38 |
|
| 39 |
$ vim-addons install migemo |
| 40 |
|
| 41 |
Usage: Put |
| 42 |
|
| 43 |
:Migemo |
| 44 |
|
| 45 |
Have a fun! |
| 46 |
|
| 47 |
-- Youhei SASAKI <[email protected]>, Tue, 9 Jul 2013 11:01:29 +0900 |