31 lines
885 B
EmacsLisp
31 lines
885 B
EmacsLisp
|
(use-package neotree
|
||
|
:demand t
|
||
|
:straight t
|
||
|
:config
|
||
|
(global-set-key [f8] 'neotree-toggle))
|
||
|
|
||
|
(define-key thwap-map (kbd "C-n") 'neotree-toggle)
|
||
|
(add-to-list 'thwap-help-lines "C-c t C-n : Toggle Neotree")
|
||
|
|
||
|
;; (use-package treemacs
|
||
|
;; :straight t
|
||
|
;; :ensure t
|
||
|
;; :demand t
|
||
|
;; :config
|
||
|
;; (global-set-key [f8] 'treemacs)
|
||
|
;; (progn
|
||
|
;; (setq treemacs-follow-after-init t
|
||
|
;; treemacs-width 35
|
||
|
;; treemacs-indentation 2
|
||
|
;; treemacs-git-integration t
|
||
|
;; treemacs-collapse-dirs 3
|
||
|
;; treemacs-silent-refresh t
|
||
|
;; treemacs-change-root-without-asking t
|
||
|
;; treemacs-sorting 'alphabetic-desc
|
||
|
;; treemacs-show-hidden-files t
|
||
|
;; treemacs-never-persist nil
|
||
|
;; treemacs-is-never-other-window t
|
||
|
;; treemacs-goto-tag-strategy 'refetch-index)))
|
||
|
|
||
|
(provide 'thwap-nerdtree)
|