Doom-emacs: How to change treemacs font face? (Looks ugly by default but not in the screenshot)

Created on 10 Jul 2019  Â·  2Comments  Â·  Source: hlissner/doom-emacs

Amazing distro. and minimal but I'm wondering how can I change treemacs font face same as in the screenshot?

:ui doom :ui treemacs question fonts resolved

Most helpful comment

Thanks! The doom-themes package forces treemacs to use a variable-pitch font. You can change this font in Doom by changing doom-variable-pitch-font, or by disabling doom-themes' behavior (set doom-themes-treemacs-enable-variable-pitch to nil):

(setq doom-variable-pitch-font (font-spec :family "Noto Sans" :size 13))

;; or

(setq doom-themes-treemacs-enable-variable-pitch nil)

Hope that helps!

All 2 comments

Thanks! The doom-themes package forces treemacs to use a variable-pitch font. You can change this font in Doom by changing doom-variable-pitch-font, or by disabling doom-themes' behavior (set doom-themes-treemacs-enable-variable-pitch to nil):

(setq doom-variable-pitch-font (font-spec :family "Noto Sans" :size 13))

;; or

(setq doom-themes-treemacs-enable-variable-pitch nil)

Hope that helps!

Thanks for the quick response.

Was this page helpful?
0 / 5 - 0 ratings