swap from dired sidebar to treemacs
This commit is contained in:
parent
e5bb40e580
commit
4a3f1becb2
|
@ -61,7 +61,19 @@
|
|||
:bind (:map projectile-mode-map
|
||||
("s-p" . projectile-command-map)
|
||||
("C-c p" . projectile-command-map)))
|
||||
(use-package dired-sidebar :straight t :commands (dired-sidebar-toggle-sidebar))
|
||||
|
||||
(use-package treemacs
|
||||
:straight t
|
||||
:init (with-eval-after-load 'winum
|
||||
(define-key winum-keymap (kbd "M-0") #'treemacs-select-window))
|
||||
:bind
|
||||
(:map global-map
|
||||
("M-0" . treemacs-select-window)
|
||||
("C-x t t" . treemacs)
|
||||
("C-x t C-t" . treemacs-find-file)))
|
||||
(use-package treemacs-projectile
|
||||
:straight t
|
||||
:after (treemacs projectile))
|
||||
|
||||
;; I hate that I need this, but WSL is /special/.
|
||||
(when (and (eq system-type 'gnu/linux)
|
||||
|
|
14
Dots.org
14
Dots.org
|
@ -258,7 +258,19 @@ WantedBy=timers.target
|
|||
:bind (:map projectile-mode-map
|
||||
("s-p" . projectile-command-map)
|
||||
("C-c p" . projectile-command-map)))
|
||||
(use-package dired-sidebar :straight t :commands (dired-sidebar-toggle-sidebar))
|
||||
|
||||
(use-package treemacs
|
||||
:straight t
|
||||
:init (with-eval-after-load 'winum
|
||||
(define-key winum-keymap (kbd "M-0") #'treemacs-select-window))
|
||||
:bind
|
||||
(:map global-map
|
||||
("M-0" . treemacs-select-window)
|
||||
("C-x t t" . treemacs)
|
||||
("C-x t C-t" . treemacs-find-file)))
|
||||
(use-package treemacs-projectile
|
||||
:straight t
|
||||
:after (treemacs projectile))
|
||||
|
||||
;; I hate that I need this, but WSL is /special/.
|
||||
(when (and (eq system-type 'gnu/linux)
|
||||
|
|
Loading…
Reference in a new issue