GNU Emacs配色

配色方案需要安装插件,地址如下

http://download.savannah.gnu.org/releases/color-theme/

安装说明地址如下

http://www.emacswiki.org/emacs/ColorTheme

简要说明安装方法

1.将下载的插件包解压到一个目录中,然后向.emacs文件中添加下面的代码

;; 加载配置文件的路径
(add-to-list 'load-path "~/.emacs.d")
(require 'color-theme) (color-theme-initialize) ;; 下面的配色方案任选其一 ;;(color-theme-taming-mr-arneson) ;;(color-theme-pok-wog) ;;(color-theme-subtle-hacker) ;;(color-theme-sitaramv-solaris) ;;(color-theme-shaman) ;;(color-theme-ryerson) ;;(color-theme-robin-hood) ;;(color-theme-gnome2) ;;(color-theme-deep-blue) ;;(color-theme-classic) (color-theme-bharadwaj-slate)

其实配色方案的名称可以通过下面的方法获取,进入emacs后键入下面的命令

M-x load-library RET color-theme

然后键入下面的命令

M-x color-theme-selcet

然后在主缓冲区内会显示配色方案的列表,选择一个方案,使用回车键应用,如果想知道其在配置文件的中使用方法键入D即可在回显区显示类似于下面内容

color-theme-subtle-hacker is an interactive Lisp function in
`color-theme-library.el'.

(color-theme-subtle-hacker)

Subtle Hacker Color Theme.
Based on gnome2, but uses white for important things like comments,
and less of the unreadable tomato.  By Colin Walters <levanti@verbum.org>

标红的就是这种配色放在配置文件中的名称

转载于:https://www.cnblogs.com/wendellyi/archive/2013/06/08/3127713.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值