- m-x configuration-layer/create-layer
选择目录,默认是private;
然后命名layername,比如my - 在.spacemacs文件里,增加my到layer-list里;
- 在private/my/packages.el里增加一个快捷键
(spacemacs/declare-prefix "o" "my")
(spacemacs/set-leader-keys "oy" 'display-about-screen)
参考文献:
- Learn Emacs in 21 Days: Day 12—在线播放—优酷网,视频高清在线观看
http://v.youku.com/v_show/id_XMTYyODgxNjU0OA==.html?beta&from=y1.7-2