Remove some treemacs settings that I don't actually need

This commit is contained in:
Evie Litherland-Smith 2023-12-14 09:33:31 +00:00
parent c1b882cd0c
commit fbfdb395af

View file

@ -365,27 +365,11 @@ Loading this file is handled automatically on my [[https://git.xenia.me.uk/xenia
(use-package treemacs
:ensure t
:defer t
:config
;; The default width and height of the icons is 22 pixels. If you are
;; using a Hi-DPI display, uncomment this to double the icon size.
;;(treemacs-resize-icons 44)
:custom
(treemacs-follow-mode t)
(treemacs-filewatch-mode t)
(treemacs-fringe-indicator-mode 'always)
(when treemacs-python-executable
(treemacs-git-commit-diff-mode t))
(pcase (cons (not (null (executable-find "git")))
(not (null treemacs-python-executable)))
(`(t . t)
(treemacs-git-mode 'deferred))
(`(t . _)
(treemacs-git-mode 'simple)))
(treemacs-hide-gitignored-files-mode nil)
:bind
("M-0" . treemacs-select-window)
("C-x t 1" . treemacs-delete-other-windows)
("C-x t t" . treemacs)
("C-x t d" . treemacs-select-directory)