由于大多数扩展的使用方法大多是一样的,也因此,我们以此为例介绍,最后的效果图(使用的主题是:color-theme-classic)
Google搜索获得Color-theme:
官方网址:http://www.nongnu.org/color-theme/
如果是GNU/Linux系统,比如Ubuntu等,可以这样做
# Debian and derived apt-get install emacs-goodies-elGentoo
emerge color-theme
Slackware via SBo
sbopkg -i color-theme-el
下载获取的文件,解压到设置的HOME目录,也就是color-theme,放到.emacs.d文件夹下。然后添加下面的代码到.emacs文件
(add-to-list 'load-path "/path/to/color-theme.el/file") (require 'color-theme) (eval-after-load "color-theme" '(progn (color-theme-initialize) (color-theme-hober)))
/path/to/color-theme.el指的是路径,例如如果我们设置的home是emacs.config那么,就应该是~/.emacs.d/color-theme-6.0
围观我的Github Idea墙, 也许,你会遇到心仪的项目