Files
emacs/settings/treemacs-settings.el
2022-12-29 12:40:49 +01:00

44 lines
1.7 KiB
EmacsLisp
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
;; https://github.com/Alexander-Miller/treemacs
;; treemacs requires http://melpa.org/#/treemacs
;; ace-window.el https://elpa.gnu.org/packages/ace-window.html
;; avy.el https://elpa.gnu.org/packages/avy.html
;; cfrs https://melpa.org/#/cfrs
;; posframe https://melpa.org/#/posframe
;; dash https://melpa.org/#/dash
;; f.el http://melpa.org/#/f
;; ht.el http://melpa.org/#/ht
;; hydra.el https://elpa.gnu.org/packages/hydra.html
;; pfuture.el http://melpa.org/#/pfuture
;; s.el http://melpa.org/#/s
;; treemacs-magit ;; http://melpa.org/#/treemacs-magit
(use-package treemacs
:commands treemacs
:bind (("<f9>" . treemacs))
:init
;; get rid of the message:
;; [Treemacs] Warning: couldnt find hl-line-modes background color for icons, falling back on unspecified-bg.
;; see https://github.com/Alexander-Miller/treemacs/issues/100
;; and https://github.com/Alexander-Miller/treemacs/commit/f62a946f0fc5db79d37fb748ab49334c4e3cbbfd
(defvar treemacs-no-load-time-warnings t)
(setq treemacs-follow-after-init t)
(setq treemacs-sorting 'alphabetic-case-insensitive-desc)
;;(setq treemacs-width 35)
;;(setq treemacs-position 'left)
;;(setq treemacs-is-never-other-window nil)
;;(setq treemacs-silent-refresh nil)
;;(setq treemacs-indentation 2)
;;(setq treemacs-sorting 'alphabetic-desc)
;;(setq treemacs-show-hidden-files t)
;;(setq treemacs-goto-tag-strategy 'refetch-index)
;;(setq treemacs-collapse-dirs (if treemacs-python-executable 3 0))
:config
(require 'cfrs) ;; not done in treemacs, needed?
)
(use-package treemacs-magit
:after (treemacs))
(provide 'treemacs-settings)
;;; treemacs-settings.el ends here