Emacs
2019-10-20 本文已影响0人
笑吧小鸟
spacemacs
- Emacs的版本,需要25.5以上,可以直接源码编译
- 下载地址
ftp://ftp.gnu.org/gnu/emacs/
配置加速镜像
- 有几个选择,腾讯云、清华大学,推荐腾讯云
- 配置如下
(defun dotspacemacs/user-init ()
"Initialization function for user code.
It is called immediately after `dotspacemacs/init', before layer configuration
executes.
This function is mostly useful for variables that need to be set
before packages are loaded. If you are unsure, you should try in setting them in
`dotspacemacs/user-config' first."
;; ----------------- 清华大学镜像 --------------------
;; (setq configuration-layer--elpa-archives
;; '(("melpa-cn" . "http://mirrors.tuna.tsinghua.edu.cn/elpa/melpa/")
;; ("org-cn" . "http://mirrors.tuna.tsinghua.edu.cn/elpa/org/")
;; ("gnu-cn" . "http://mirrors.tuna.tsinghua.edu.cn/elpa/gnu/")))
;;
;;----------------- 腾讯云镜像 -----------------------
(setq configuration-layer--elpa-archives
'(("melpa-cn" . "http://mirrors.cloud.tencent.com/elpa/melpa/")
("org-cn" . "http://mirrors.cloud.tencent.com/elpa/org/")
("gnu-cn" . "http://mirrors.cloud.tencent.com/elpa/gnu/")))
)
配置org-mode,使用org-mode管理自己的生活
git clone https://github.com/jiftle/emacs-org-gtd-conf.git