Pimp dired a bit

This commit is contained in:
Gergely Polonkai 2019-09-09 17:06:54 +02:00
parent 83e33f9135
commit 5326b1a250
No known key found for this signature in database
GPG Key ID: 38F402C8471DDE93

View File

@ -2357,6 +2357,48 @@ accompanying function will be added to ~mu4e-view-mode-hook~.
(dired-rainbow-define-chmod executable-unix "Green" "-.*x.*")) (dired-rainbow-define-chmod executable-unix "Green" "-.*x.*"))
#+END_SRC #+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 * Make programming a bit easier
** Electric case ** Electric case