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.
This commit is contained in:
parent
b5c57ab6e4
commit
e4778f9923
1 changed files with 1 additions and 4 deletions
|
@ -28,12 +28,9 @@ There are 2 possible values:
|
||||||
(defvar treemacs-collapse-dirs
|
(defvar treemacs-collapse-dirs
|
||||||
(if (executable-find "python3") 3 0))
|
(if (executable-find "python3") 3 0))
|
||||||
|
|
||||||
(treemacs-follow-mode t)
|
|
||||||
(treemacs-filewatch-mode t)
|
(treemacs-filewatch-mode t)
|
||||||
(when (memq +treemacs-use-git-mode '(simple extended))
|
(when (memq +treemacs-use-git-mode '(simple extended))
|
||||||
(treemacs-git-mode +treemacs-use-git-mode))
|
(treemacs-git-mode +treemacs-use-git-mode)))
|
||||||
|
|
||||||
(add-hook 'treemacs-mode-hook #'hide-mode-line-mode))
|
|
||||||
|
|
||||||
|
|
||||||
(def-package! treemacs-evil
|
(def-package! treemacs-evil
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue