summaryrefslogtreecommitdiff
path: root/.emacs.d/modules
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-09-06 16:35:21 +0300
committerThanos Apollo <[email protected]>2023-09-06 16:35:21 +0300
commit27295e9e7fcc6a35b3d563f94d034f5bd861f373 (patch)
treeca237f31c828f6108f994f0ac786a15f17ecf7ca /.emacs.d/modules
parent8c611913086730143061d64f3db6901388ffbdb3 (diff)
emacs: Add dired-listing-switches
Diffstat (limited to '.emacs.d/modules')
-rw-r--r--.emacs.d/modules/thanos-dired.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/.emacs.d/modules/thanos-dired.el b/.emacs.d/modules/thanos-dired.el
index 74973b1..c6c7382 100644
--- a/.emacs.d/modules/thanos-dired.el
+++ b/.emacs.d/modules/thanos-dired.el
@@ -32,6 +32,8 @@
(require 'dired)
(require 'nerd-icons-dired)
+(setf dired-listing-switches "-lha")
+
(defun dired-watch-video ()
"Watch play file with mpv."
(interactive)
@@ -67,7 +69,7 @@
(dired-delete-file file t)))))
(defun dired-rename-capitalize-file ()
- "Capitalize the base name of the file at point in a dired buffer."
+ "Capitalize the base name of the file at point in a Dired buffer."
(interactive)
(let* ((file (dired-get-file-for-visit))
(new-file (capitalize (file-name-nondirectory file))))