Skip to content

Commit

Permalink
features: improve sidebar config
Browse files Browse the repository at this point in the history
  • Loading branch information
mcraveiro committed Mar 1, 2024
1 parent 9a0d495 commit a12ceb0
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion config/features.org
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,20 @@ surrounded by word boundaries."
(require 'dired-x)

(use-package dired-sidebar
:commands (dired-sidebar-toggle-sidebar))
:commands (dired-sidebar-toggle-sidebar)
:init
(add-hook 'dired-sidebar-mode-hook
(lambda ()
(unless (file-remote-p default-directory)
(auto-revert-mode))))
:config
(push 'toggle-window-split dired-sidebar-toggle-hidden-commands)
(push 'rotate-windows dired-sidebar-toggle-hidden-commands)
(setq dired-sidebar-subtree-line-prefix "__"
dired-sidebar-theme 'vscode
dired-sidebar-use-term-integration t
dired-sidebar-use-custom-font t
dired-sidebar-width 45))
#+end_src

* IBuffer
Expand Down

0 comments on commit a12ceb0

Please sign in to comment.