mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
ui/treemacs: disable treemacs-follow-mode
Can be disruptive if you've got many windows with buffers across different projects. Also, SPC o P is available to "jump to current file" in the treemacs window.
This commit is contained in:
@ -28,6 +28,7 @@ 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 -1)
|
||||||
(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)))
|
||||||
|
Reference in New Issue
Block a user