summaryrefslogtreecommitdiff
path: root/.emacs.d/modules
diff options
context:
space:
mode:
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))))