分享

emacs配置颜色主题

 昵称9227955 2012-03-21

 

color theme是emacs的美化包,用emacs的lips写的扩展程序吧,有很多颜色配置方案,下载地址: 
http://download.savannah./releases/color-theme/

linux下配置方法:
将压缩包中color-theme.el和themes文件夹拷贝到某个文件夹,我的是~/.emacs.d
,然后打开配置文件.emacs
没有.emacs可以点配置按钮,然后点save for future sessions按钮
打开后写入:
(add-to-list 'load-path "~/.emacs.d/")
(require 'color-theme)
(color-theme-initialize)
(color-theme-deep-blue)
我选择用的color-theme-deep-blue主题


windows下配置方法:
因为路劲不知道怎么写,就不用add-to-list了,直接把color-theme.el和themes拷贝到emacs安装目录里site-lisp文件夹下,是个默认目录。
然后在系统盘Documents and Settings文件夹里面搜索出.emacs,没有的话用配置按钮保存个出来。
然后编辑.emacs,写入:
(require 'color-theme)
(color-theme-initialize)
(color-theme-deep-blue)

运行时要更换主题用M-x color-theme-xxx选择一个。没有生效的话emacs --init-debug启动,看看哪错了


emacs color-theme

 

转自 : http://blog./uid-20416834-id-322125.html

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多