zoukankan      html  css  js  c++  java
  • 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>

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

  • 相关阅读:
    <Redis开发与运维> 阅读笔记
    请求行,请求头,请求体详解
    char 与 varchar 的区别
    python字符串的常用方法。
    快速排序的代码及原理
    C#之Dictionary源码
    C#中构造函数
    U3D——单例模式的用法
    U3D学习——设置VS2019作为开发工具
    U3D学习——脚本运行周期
  • 原文地址:https://www.cnblogs.com/wendellyi/p/3127713.html
Copyright © 2011-2022 走看看