-
-
Notifications
You must be signed in to change notification settings - Fork 412
Extension: Treemacs
Henrik Lissner edited this page May 22, 2021
·
1 revision
This extension defines two new treemacs themes:
-
"doom-atom": an all-the-icons treemacs theme that mimics the minimal iconset of Atom's sidebar. -
"doom-colors": an all-the-icons treemacs theme with unique, per-filetype icons, akin to VSCode's sidebar.
What both of these themes provide over the standard themes available with Treemacs (or treemacs-all-the-icons):
- Uses icons + chevrons to complete the vscode/atom sidebar look.
- Displays folder/file labels in
variable-pitch(rather than a monospace font), which is easier to read and takes up less horizontal space. - Adds more settings for you to customize neotree with (to control line height, icon size, etc).
-
This requires the [all-the-icons] package and its fonts to be installed.
Run
M-x all-the-icons-install-fontsto install its fonts.
Once the doom-themes plugin is installed, you need only run doom-themes-neotree-config:
(with-eval-after-load 'doom-themes
(doom-themes-treemacs-config))- Variables (use
C-h vto look up documentation)-
doom-themes-treemacs-enable-variable-pitch(default:t) -
doom-themes-treemacs-variable-pitch-face(default:'variable-pitch) what face to use for folder/icon labels. Change this to affect the font for labels. -
doom-themes-treemacs-line-spacing(default:1) -
doom-themes-treemacs-theme(default:"doom-atom") -
doom-themes-treemacs-bitmap-indicator-width(default:3)
-
- These faces can be customized (use
M-x describe-facefor documentation):-
doom-themes-treemacs-root-face: face for folders -
doom-themes-treemacs-file-face: face for files
-