Moody mode-line

这个包出了有一段时间了,但是网上好像没有太多提到它的。

这是主页的截图:

我的配置:

作者走的是轻量路线,功能很少,但是已经满足我的需求了。

  • 优点: 轻量,简单的同时视觉效果很好

  • 缺点:功能少,没有右侧mode-line,自动折叠,等等

1 个赞

现在用上了 modus theme 和 moody,但是有点问题:

Moody 是 M-x 开启的。

modus-themes-mode-line 需要有 moody 这一项。

我已经有了。。。

这个选项需要用 :custom 设置

但是作者的示例配置就是使用 setq 设置变量的:

(use-package emacs
  :init
  ;; Add all your customizations prior to loading the themes
  (setq modus-themes-italic-constructs t
        modus-themes-bold-constructs nil
        modus-themes-region '(bg-only no-extend))
  :config
  ;; Load the theme of your choice:
  (load-theme 'modus-operandi) ;; OR (load-theme 'modus-vivendi)
  :bind ("<f5>" . modus-themes-toggle)

这是官网的 README

加入对 moody 的配置即可:

(use-package moody
  :config
  (setq x-underline-at-descent-line t)
  (moody-replace-mode-line-buffer-identification)
  (moody-replace-vc-mode)
  (moody-replace-eldoc-minibuffer-message-function))

问题果然是出在我是通过 M-x 启动 moody 上。