spacemacs 自定义配置 笔记

组织自己的dotspacemacs

  • 新建”.spacemacs.d”目录,将”.spacemacs”修改为”init.el”

组织自己的layers配置文件

  • 推荐方法:
    • 在本地使用自己的git repository,然后将其目录symlink into “.emacs.d/private/”目录中.之后可以将自己的layers放到这里.
    • or let them anywhere you want and reference the parent directory in the variable dotspacemacs-configuration-layer-path of your ~/.spacemacs.
    • 如果熟练git的话可以将自己的private,push到一个自己的branch.
  • layer的配置文件结构:
[layer_name]
  |__ [local]
  | |__ [package 1]
  | |     ...
  | |__ [package n]
  |-- layers.el
  |__ packages.el
  |__ funcs.el
  |__ config.el
  |__ keybindings.el

[] = directory

配置另外的packages 下载源

posted @ 2017-08-25 11:08  codie  阅读(755)  评论(0编辑  收藏  举报