From 91df806ec825226852cd13bfde3c44db7118ae7b Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Sun, 10 May 2020 22:51:28 +0100 Subject: [PATCH] chore(projects): Tweak treemacs config - Remove old defunct settings which no longer do anything. - Set treemacs to not be reachable via other-window, meaning you need to use keybindings to focus on it, like `C-x p`. --- modules/projects/siren-treemacs.el | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/modules/projects/siren-treemacs.el b/modules/projects/siren-treemacs.el index cac0bc3..7c04b51 100644 --- a/modules/projects/siren-treemacs.el +++ b/modules/projects/siren-treemacs.el @@ -17,14 +17,11 @@ ("C-x p" . treemacs-select-window) :custom - (treemacs-change-root-without-asking t) (treemacs-collapse-dirs 3) (treemacs-follow-after-init t) - (treemacs-git-integration t) (treemacs-goto-tag-strategy 'refetch-index) (treemacs-indentation 2) - (treemacs-is-never-other-window nil) - (treemacs-never-persist nil) + (treemacs-is-never-other-window t) (treemacs-show-hidden-files t) (treemacs-silent-refresh nil) (treemacs-sorting 'alphabetic-asc) @@ -42,6 +39,7 @@ (treemacs-follow-mode t) (treemacs-filewatch-mode t) + (treemacs-git-mode 'deferred) (treemacs-define-doubleclick-action 'file-node-open #'treemacs-visit-node-in-most-recently-used-window)