home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

commit f9742f02b8da0353a275f9b1db3734f8c815a482
parent 5788252f949c44759011d58be50a49ebb98ced8a
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Fri, 10 Nov 2023 12:19:02 +0100

tools/emacs: re-bind dired-sidebar

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mtools/emacs/config/config-dired.el | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/emacs/config/config-dired.el b/tools/emacs/config/config-dired.el @@ -225,8 +225,9 @@ This relies on the external 'fd' executable." (setq trashed-date-format "%Y-%m-%d %H:%M:%S")) (use-package dired-sidebar - :bind (("C-x C-n" . dired-sidebar-toggle-sidebar)) + :unless noninteractive :commands (dired-sidebar-toggle-sidebar) + :bind ("C-c C-n" . dired-sidebar-toggle-sidebar) :init (add-hook 'dired-sidebar-mode-hook (lambda ()