home

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

commit c32a3ec6a1832609574aa6d785bdeaf01c4ae82c
parent 33bd34877653fe203d2a8d1d89cec36688489cc9
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Wed, 15 May 2024 19:25:44 +0200

tools/emacs: add casual-dired…

… because the transient menu is amazing 🥰

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

Diffstat:
Mtools/emacs/config/config-dired.el | 6+++++-
Musers/vincent/dev/emacs.nix | 1+
2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/tools/emacs/config/config-dired.el b/tools/emacs/config/config-dired.el @@ -38,7 +38,8 @@ ;; Handle long file names (add-hook 'dired-mode-hook #'toggle-truncate-lines) - (add-hook 'dired-mode-hook #'dired-hide-details-mode) + (add-hook 'dired-mode-hook #'dired-hide + -details-mode) (defun vde/dired-up () "Go to previous directory." @@ -375,5 +376,8 @@ See the man page `ls(1)' for details." (dired-sort-other (mapconcat 'identity arg-list " ")))) +(use-package casual-dired + :bind (:map dired-mode-map ("C-o" . 'casual-dired-tmenu))) + (provide 'config-dired) ;; config-dired.el ends here diff --git a/users/vincent/dev/emacs.nix b/users/vincent/dev/emacs.nix @@ -42,6 +42,7 @@ let bbdb beginend cape # FIXME: configure + casual-dired color-identifiers-mode conner consult