summary refs log tree commit diff
path: root/emacs/custom/my-dired.el
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-04-18 17:54:33 -0700
committerFranck Cuny <franck@fcuny.net>2022-04-18 17:54:52 -0700
commit57b2e8286d7f1e32c2e1d9c98c2a7ab8f81b9f2b (patch)
treec2973811e250b7baa09c9863ab5a9ec6ae69336e /emacs/custom/my-dired.el
parentelfeed: new site (diff)
downloademacs.d-57b2e8286d7f1e32c2e1d9c98c2a7ab8f81b9f2b.tar.gz
dired: move configuration to its own module
Diffstat (limited to '')
-rw-r--r--emacs/custom/my-dired.el19
1 files changed, 19 insertions, 0 deletions
diff --git a/emacs/custom/my-dired.el b/emacs/custom/my-dired.el
new file mode 100644
index 0000000..8dba7a0
--- /dev/null
+++ b/emacs/custom/my-dired.el
@@ -0,0 +1,19 @@
+;;; my-dired.el --- Configure parts related to navigation
+
+;;; Commentary:
+
+;;; Code:
+
+(require 'dired)
+(require 'ls-lisp)
+
+(setq-default dired-dwim-target t)
+(setq-default dired-listing-switches "-alh")
+(setq dired-recursive-deletes 'always)
+(setq dired-recursive-copies 'always)
+
+(setq ls-lisp-use-insert-directory-program nil)
+(setq ls-lisp-dirs-first t)
+
+(provide 'my-dired)
+;;; my-dired.el ends here