Spacemacs配置备忘
这篇文章会不定期更新,把配置Spacemacs过程中碰到的问题记录下来。
1 告别ESC
如果是vim的老用户的话,你会发现esc键,离你的键盘中心太远了,如果换成jk,切换速度就会快很多。
(defun dotspacemacs/user-init () |
参考文章 http://www.guanggua.com/question/10569165-how-to-map-jj-to-esc-in-emacs-evil-mode.html
2 启动后Flyspell mode有错误提示:
No word lists can be found fro the language "zh_CN" |
Flyspell mode只对英文有效,是没有zhCN word lists的
echo "hello, woold" | aspell -a -l en |
3 避免shell下运行时,提示fontset 'tty' does not exist.
用if函数检测emacs是否在shell模式下运行。
(if window-system |
4 tern binary not found
5 yasnippet包更新后,出现严重的故障
使用Rollback package update可以回滚到更新前的包,因为对spacemacs还不是十分熟悉,这个故障折腾了我半天,才找到解决方法,以后更新不用那么勤快了,更新出了问题也蛮折磨人的。