From d79ad7af7fbdb530d8b7019f788c0ff2a484ad81 Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Fri, 23 Sep 2022 16:45:22 -0400 Subject: [PATCH] tweak treemacs --- doom.d/config.el | 3 ++- doom.d/config.org | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/doom.d/config.el b/doom.d/config.el index adc37ea..81ea985 100644 --- a/doom.d/config.el +++ b/doom.d/config.el @@ -100,7 +100,8 @@ (display-time-mode 1) (after! treemacs - (setq treemacs-width 25)) + (setq treemacs-width 28) + (bind-key "M-0" #'treemacs-select-window)) (use-package! alert :config diff --git a/doom.d/config.org b/doom.d/config.org index 9cf7b65..0ea77e3 100644 --- a/doom.d/config.org +++ b/doom.d/config.org @@ -131,10 +131,12 @@ Display the current time in the modeline #+end_src ** Treemacs Configure treemacs, doing the following: - ++ Set the width of the buffer to 28 characters ++ Bind the select window function to ~M-0~ #+begin_src emacs-lisp (after! treemacs - (setq treemacs-width 25)) + (setq treemacs-width 28) + (bind-key "M-0" #'treemacs-select-window)) #+end_src ** Alert Configure notifications that originate from within emacs