是否可以在spacemacs中安装新主题?我应该怎么做?我正在尝试从http://themegallery.robdor.com/安装一些主题
是否可以在spacemacs中安装新主题?我应该怎么做?我正在尝试从http://themegallery.robdor.com/安装一些主题
Answers:
1)选择您的主题:http : //themegallery.robdor.com/
2)转到您的dotfile: SPC f e d
3)添加或编辑添加我们的主题名称(在此示例中为gruvbox)的以下行,确保它是列表的第一个元素:
(defun dotspacemacs/init ()
  (setq-default
    ;; ... other configurations...
    dotspacemacs-themes '(gruvbox)))
3)重新加载您的spacemacs: SPC q R
享受您的新主题。
您需要先将主题大型包装添加到您的 .spacemacs
emacsdotspacemacs-configuration-layer添加themes-megapackdotspacemacs/user-init添加dotspacemacs-themes '(jbeans)))
,用您选择的主题替换jbeans安装和配置。
~/.spacemacs,M-m f e d。mega-pack层在所述层部分 ; 要么
dotspacemacs-configuration-layers
'(
  ...
  mega-pack
  ...
  )
dotspacemacs-additional-packages '(...
                                   ...
                                   sometheme-theme)
dotspacemacs-themes '(sometheme-somevariant
                      sometheme-othervariant)
笔记。
mega-pack本身列出几十个主题。如果是个人(一个用户)设置,建议您仅安装要使用的特定主题程序包。solarized-theme包括solarized-dark和solarized-light。
SPC否则Space将不起作用,除非您选择了永久的编辑样式Vim来代替Emacs; 然后要解决此问题,对于emacs用户,只需使用M-m(即Alt-m)。