summary refs log tree commit diff
path: root/emacs/custom/my-dired.el
diff options
context:
space:
mode:
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