为Emacs配置Solarized主题

如何给Emacs配置solarized主题; 首先要下载主题,网址:https://github.com/sellout/emacs-color-theme-solarized
将文件夹拷贝到.emacs.d目录后,在init.el中添加:
(add-to-list 'custom-theme-load-path "~/.emacs.d/emacs-color-theme-solarized")
(load-theme 'solarized t)
(set-frame-parameter nil 'background-mode 'dark) ;;选择solarized dark
(enable-theme 'solarized)
posted @ 2022-12-23 14:54  裘庄三少  阅读(116)  评论(0编辑  收藏  举报