Pimp dired a bit

This commit is contained in:
Gergely Polonkai 2019-09-09 17:06:54 +02:00
parent f59b86fb69
commit 3d9a35f7f3
2 changed files with 47 additions and 0 deletions

View File

@ -2315,6 +2315,48 @@ accompanying function will be added to ~mu4e-view-mode-hook~.
(use-package transient) (use-package transient)
#+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

View File

@ -60,7 +60,12 @@
dash dash
dashboard dashboard
delight delight
dired-collapse
dired-du
dired-git-info
dired-hide-dotfiles
dired-k dired-k
dired-rainbow
docker-tramp docker-tramp
dockerfile-mode dockerfile-mode
editorconfig editorconfig