Chuck's Emacs Configuration

Chuck’s Emacs Configuration with use-package

Documents

http://xuchengpeng.com/emacs.d/

Install

1
$ git clone https://github.com/xuchengpeng/emacs.d.git ~/.emacs.d

ELPA mirror

可以在 ~/.emacs.d/lisp/init-preload-private.el 文件里面定义自己使用的 ELPA 镜像。

1
2
3
4
5
6
7
8
(setq package-archives
'(("melpa" . "E:/GitHub/elpa-mirror/melpa")
("org" . "E:/GitHub/elpa-mirror/org")
("gnu" . "E:/GitHub/elpa-mirror/gnu")
)
)

(provide 'init-preload-private)

可以从 d12frosted/elpa-mirror 下载到本地。

或者可以使用其他的镜像:

Customization

To add your own customization, create a file ~/.emacs.d/lisp/init-afterload-private.el which looks like this:

1
2
3
... your code here ...

(provide 'init-afterload-private)

If you need initialisation code which executes earlier in the startup process, you can also create an ~/.emacs.d/lisp/init-preload-private.el file which looks like this:

1
2
3
... your code here ...

(provide 'init-preload-private)

Install fonts(Optional)

Install Source Code Pro.

Supported Emacs versions

The config should run on Emacs 25.1 or greater and is designed to degrade smoothly - see the Travis build.

0%