Move dired related packages to their own section

This commit is contained in:
Gergely Polonkai 2023-10-20 05:25:40 +02:00
parent 7faa3b099a
commit 6f51d5133f
No known key found for this signature in database
GPG Key ID: 2D2885533B869ED4
1 changed files with 51 additions and 49 deletions

View File

@ -1786,6 +1786,57 @@ INFO plist."
("C-c o" . ciel-co)))
#+end_src
* Dired extras
** ~dired-collapse~, to collapse directories that contain a single file somewhere deep
#+begin_src emacs-lisp
(use-package dired-collapse)
#+end_src
** ~dired-du~ to show directory sizes
#+begin_src emacs-lisp
(use-package dired-du)
#+end_src
** ~dired-git-info~ to show Git version information
#+begin_src emacs-lisp
(use-package dired-git-info
:bind
(:map dired-mode-map
(")" . dired-git-info-mode)))
#+end_src
** ~dired-hide-dotfiles~ to show/hide hidden (dot) files
#+begin_src emacs-lisp
(use-package dired-hide-dotfiles
:bind
(:map dired-mode-map
("." . dired-hide-dotfiles-mode)))
#+end_src
** ~dired-rainbow~ to color code file types
Rainbow to the stars…
#+begin_src emacs-lisp
(use-package dired-rainbow
:config
(dired-rainbow-define-chmod executable-unix "Green" "-.*x.*"))
#+end_src
** ~dired-k~ to highlight dired buffers by file size, mtime, git status, etc.
#+begin_src emacs-lisp
(use-package dired-k
:bind
(:map dired-mode-map
("K" . dired-k)))
#+end_src
* Custom commands and functions
** Frame manipulation
@ -1944,15 +1995,6 @@ Lets see if i can get my brain more organised this way…
(use-package forge)
#+END_SRC
** Highlight dired buffer by file size, modified time, git status
#+BEGIN_SRC emacs-lisp
(use-package dired-k
:bind
(:map dired-mode-map
("K" . dired-k)))
#+END_SRC
** Secretaria
Because even secretaries need a secretary today.
@ -2127,46 +2169,6 @@ I dont always use the package menu, but when i do, i want to do it in style
("xena" "https://xena.greedo.xeserv.us/files/xena.txt"))))
#+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)
#+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
:config
(dired-rainbow-define-chmod executable-unix "Green" "-.*x.*"))
#+END_SRC
* Make programming a bit easier
** Electric operator