lundi 21 décembre 2009

emacs2.3 中输入中文

在~/.emacs中添加:
;;用win+space为set-mark键,留出ctrl+space热键作为输入法
(global-set-key (kbd "C-SPC") 'nil)
(global-set-key (kbd "s-SPC") 'set-mark-command)

在~/.bashrc中添加:
alias emacs="LANG=zh_CN.UTF-8 emacs"

重启后就可以在emacs中使用scim和ibus了。

Aucun commentaire:

Enregistrer un commentaire