設置Emacs中文輸入法爲IBus

1, 下載Emacs的IBus的插件ibus-el, 網址是https://launchpad.net/ibus.el,下載之後解壓到.emacs.d中

2,安裝python-xilb

sudo apt-get install python-xlib

3, 在.emacs文件中加入下面的代碼:

;;set ibus-el
 (add-to-list 'load-path "~/.emacs.d/ibus-el-0.3.2")
 (require 'ibus)
 (add-hook 'after-init-hook 'ibus-mode-on)


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章