【问题标题】:Emacs 256 colors in iTerm2iTerm2 中的 Emacs 256 色
【发布时间】:2017-04-20 07:53:57
【问题描述】:

我无法在 Emacs(spacemacs)中使用 256 种颜色。 我现在已经尝试过这既是原生 emacs 又是 spacemacs,但都不起作用。

我的 iTerm2 正在运行 Build 3.1.20170419-nightly,目前设置为 xterm-256color 和 base16-ocean 作为主题。

不要介意No theme file base16-default.dark.sh found 这是 colortest 脚本的临时错误。

256 色在 GUI 版本中完美运行,我猜这意味着主题没有损坏。

【问题讨论】:

    标签: bash emacs zsh iterm2 spacemacs


    【解决方案1】:

    emacs-base16 和 base16-shell 兼容性存在/曾经存在问题。

    在 emacs-base16 GitHub 上发布 opened

    解决方案:

    (setq base16-theme-256-color-source "base16-shell")
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-03-07
      • 2012-04-23
      • 1970-01-01
      • 1970-01-01
      • 2013-01-15
      • 1970-01-01
      • 2023-02-12
      • 2017-05-20
      相关资源
      最近更新 更多