;; https://github.com/Alexander-Miller/treemacs

;; treemacs requires http://melpa.org/#/treemacs
;;   dash
;;   s.el  http://melpa.org/#/s
;;   f.el  http://melpa.org/#/f
;;   ht.el  http://melpa.org/#/ht
;;   ace-window.el  https://elpa.gnu.org/packages/ace-window.html
;;     avy.el  https://elpa.gnu.org/packages/avy.html
;;   pfuture.el  http://melpa.org/#/pfuture
;;   hydra.el  https://elpa.gnu.org/packages/hydra.html
;; treemacs-magit ;; http://melpa.org/#/treemacs-magit
(use-package treemacs
  :commands treemacs
  :init
  ;; get rid of the message:
  ;; [Treemacs] Warning: couldn’t find hl-line-mode’s 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))
  ;;(:map global-map ([f8] . treemacs-toggle))
  )

(use-package treemacs-magit
  :after (treemacs))

(provide 'treemacs-settings)
;;; treemacs-settings.el ends here
