From 5326b1a250102b3ac10944f75e59a501758622af Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Mon, 9 Sep 2019 17:06:54 +0200 Subject: [PATCH] Pimp dired a bit --- configuration.org | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/configuration.org b/configuration.org index 6fc01d5..4d83ffe 100644 --- a/configuration.org +++ b/configuration.org @@ -2357,6 +2357,48 @@ accompanying function will be added to ~mu4e-view-mode-hook~. (dired-rainbow-define-chmod executable-unix "Green" "-.*x.*")) #+END_SRC +* Dired related packages + +** Collapse directories that only contain one file somewhere deep + +#+BEGIN_SRC emacs-lisp +(use-package dired-collapse) +#+END_SRC + +** Show directory sizes + +#+BEGIN_SRC emacs-lisp +(use-package dired-du + :hook + (dired-mode . dired-du-mode)) +#+END_SRC + +** Show Git version information + +#+BEGIN_SRC emacs-lisp +(use-package dired-git-info + :bind + (:map dired-mode-map + (")" . dired-git-info-mode))) +#+END_SRC + +** Show/hide dot (hidden) files + +#+BEGIN_SRC emacs-lisp +(use-package dired-hide-dotfiles + :bind + (:map dired-mode-map + ("." . dired-hide-dotfiles-mode))) +#+END_SRC + +** Rainbow to the stars… + +#+BEGIN_SRC emacs-lisp +(use-package dired-rainbow + :init + (dired-rainbow-define-chmod executable-unix "Green" "-.*x.*")) +#+END_SRC + * Make programming a bit easier ** Electric case