(转)解决emacs中切换输入法冲突

转自:http://blog.sina.com.cn/s/blog_a04f0d1c0101bwk1.html

1.安装ibus-el:sudo apt-get install ibus-el

2.将如下内容添加至~/.emacs
(require 'ibus)
;; Turn on ibus-mode automatically after loading .emacs
(add-hook 'after-init-hook 'ibus-mode-on)
;; Use C-SPC to toggle input status
(global-set-key (kbd "C-SPC") 'ibus-toggle)
;; Use s-SPC to set mark
(global-set-key (kbd "s-SPC") 'set-mark-command)

posted @ 2014-10-26 16:17  抢地主  阅读(408)  评论(0编辑  收藏  举报