|
|
|
@ -45,16 +45,35 @@
|
|
|
|
|
:config (unless (member "all-the-icons" (font-family-list)) |
|
|
|
|
(all-the-icons-install-fonts t))) |
|
|
|
|
|
|
|
|
|
;; Nice tree |
|
|
|
|
(use-package neotree |
|
|
|
|
;; Tree |
|
|
|
|
(use-package treemacs |
|
|
|
|
:ensure t |
|
|
|
|
:demand t |
|
|
|
|
:commands neotree-toggle |
|
|
|
|
:init (setq neo-theme (if (display-graphic-p) 'icons 'arrow)) |
|
|
|
|
:defer t |
|
|
|
|
:init |
|
|
|
|
(with-eval-after-load 'winum |
|
|
|
|
(define-key winum-keymap (kbd "M-0") #'treemacs-select-window)) |
|
|
|
|
(with-eval-after-load 'treemacs |
|
|
|
|
(define-key treemacs-mode-map [mouse-1] #'treemacs-single-click-expand-action)) |
|
|
|
|
:config |
|
|
|
|
(setq neo-window-fixed-size nil) |
|
|
|
|
:bind ("C-`" . neotree-toggle) |
|
|
|
|
:requires all-the-icons) |
|
|
|
|
(progn |
|
|
|
|
(treemacs-load-theme "all-the-icons") |
|
|
|
|
(setq treemacs-indent-guide-mode "line"))) |
|
|
|
|
|
|
|
|
|
(use-package treemacs-projectile |
|
|
|
|
:after (treemacs projectile) |
|
|
|
|
:ensure t) |
|
|
|
|
|
|
|
|
|
(use-package treemacs-icons-dired |
|
|
|
|
:hook (dired-mode . treemacs-icons-dired-enable-once) |
|
|
|
|
:ensure t) |
|
|
|
|
|
|
|
|
|
(use-package treemacs-magit |
|
|
|
|
:after (treemacs magit) |
|
|
|
|
:ensure t) |
|
|
|
|
|
|
|
|
|
(use-package treemacs-all-the-icons |
|
|
|
|
:after (all-the-icons treemacs) |
|
|
|
|
:ensure t) |
|
|
|
|
|
|
|
|
|
;; Theme |
|
|
|
|
(use-package nord-theme |
|
|
|
|