about summary refs log tree commit diff
path: root/dotfiles/.emacs
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2024-03-16 20:05:20 +0100
committerBaitinq <manuelpalenzuelamerino@gmail.com>2024-03-16 20:05:20 +0100
commit4958fc17b9e2647e9e0a2c53b34b7cc8141ee8d8 (patch)
tree4ee7765d8edc6a877944a428e7bc66aa51a9b36d /dotfiles/.emacs
parentDofiles: Emacs: Fix typo bug (diff)
downloadnixos-config-4958fc17b9e2647e9e0a2c53b34b7cc8141ee8d8.tar.gz
nixos-config-4958fc17b9e2647e9e0a2c53b34b7cc8141ee8d8.tar.bz2
nixos-config-4958fc17b9e2647e9e0a2c53b34b7cc8141ee8d8.zip
Dofiles: Emacs: Use treemacs instead of dired-sidebar
Diffstat (limited to 'dotfiles/.emacs')
-rw-r--r--dotfiles/.emacs9
1 files changed, 5 insertions, 4 deletions
diff --git a/dotfiles/.emacs b/dotfiles/.emacs
index 14d191d..f20f08a 100644
--- a/dotfiles/.emacs
+++ b/dotfiles/.emacs
@@ -200,13 +200,14 @@
   (add-hook 'go-mode-hook 'eglot-ensure)
   (delete 'go treesit-auto-langs))
 
-(use-package dired-sidebar
+(use-package treemacs
   :ensure t
   :config
-  (setq dired-sidebar-resize-on-open nil)
-  (setq dired-sidebar-window-fixed nil)
+  (treemacs-project-follow-mode t)
+  (treemacs-follow-mode t)
+  (treemacs-filewatch-mode t)
   :bind
-  (:map evil-normal-state-map ("C-b" . dired-sidebar-toggle-sidebar)))
+  (:map evil-normal-state-map ("C-b" . treemacs)))
 
 (use-package minimap
   :ensure t