From e4778f992352c034c189b98e595d0cabcb272739 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 10 Jul 2018 23:06:26 +0200 Subject: [PATCH] Disable treemacs-follow-mode by default This has proven intrusive, especially when you have files from different projects open and you switch between them rapidly. Enabling treemacs-follow-mode is left up to the user. Otherwise, the SPC o P keybind and treemacs-find-file command can this manually and on-demand. Also remove hide-mode-line-mode from treemacs because it's redundant with the doom-themes treemacs icon theme. --- modules/ui/treemacs/config.el | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/modules/ui/treemacs/config.el b/modules/ui/treemacs/config.el index acf842e2e..0662c5b16 100644 --- a/modules/ui/treemacs/config.el +++ b/modules/ui/treemacs/config.el @@ -28,12 +28,9 @@ There are 2 possible values: (defvar treemacs-collapse-dirs (if (executable-find "python3") 3 0)) - (treemacs-follow-mode t) (treemacs-filewatch-mode t) (when (memq +treemacs-use-git-mode '(simple extended)) - (treemacs-git-mode +treemacs-use-git-mode)) - - (add-hook 'treemacs-mode-hook #'hide-mode-line-mode)) + (treemacs-git-mode +treemacs-use-git-mode))) (def-package! treemacs-evil