From 57b2e8286d7f1e32c2e1d9c98c2a7ab8f81b9f2b Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 18 Apr 2022 17:54:33 -0700 Subject: dired: move configuration to its own module --- emacs/custom/my-dired.el | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 emacs/custom/my-dired.el (limited to 'emacs/custom/my-dired.el') 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 -- cgit 1.4.1