spacemacs中安装后fcitx包后,会自动删除

操作系统为 ubuntu emacs版本为25.2

我在自己在layer中也添加了fcitx,也把自己的layer添加chinese layer 之前,chinese layer 配置如下: (chinese :packages youdao-dictionary fcitx :variables chinese-enable-fctix t chinese-enable-youdao-dict t)

我自己的layer 配置如下: (defconst mike-chinese-packages '(fcitx) )

(defun mike-chinese/post-init-fcitx () (fcitx-aggressive-setup))

我的 packages.le 中 defun 这一段是这样写的:

(defun asterix/post-init-fcitx ()
  (with-eval-after-load 'fcitx
    ;; Make sure the following comes before `(fcitx-aggressive-setup)'
    (setq fcitx-active-evil-states '(insert emacs hybrid)) ;; if you use hybrid mode
    (fcitx-aggressive-setup)
    (fcitx-prefix-keys-add "M-m") ;; M-m is common in Spacemacs
    (when (spacemacs/system-is-linux)
      (setq fcitx-use-dbus t) ;; uncomment if you're using Linux
      )
    ))

谢了,回头我试一下

只用 chinese layer 是否有问题

(chinese :variables
    chinese-enable-fcitx t)

发帖前请先细看主题

其实fcitx对使用jk之类当做esc的童鞋并没有卵用。。。。

我那一段其实是照抄作者的配置针对双系统略加修改。那几句是作者在README里建议的。 只用chinese layer我真的忘了。

参考朋友的配置,能够正常安装fctix,通过fcitx阅读readme,也无法通过快捷键调出fcitx进行输入中文,不折腾了,还是emacs内置的C-\来调用默认的quail/py-punct来进行中文输入吧,谢谢大家了

忘记chinese layer吧,它已经无人维护了。。。