summary refs log tree commit diff
path: root/config/init-dired.el
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-04-06 11:22:57 -0700
committerFranck Cuny <franck@fcuny.net>2024-04-06 11:22:57 -0700
commit7c5780a719565630f58e7751afa8c7e458c49871 (patch)
treef8863ebcbd4a1e551a63374b3fee589affca1393 /config/init-dired.el
parentmove some display stuff (diff)
downloademacs.d-7c5780a719565630f58e7751afa8c7e458c49871.tar.gz
a org file is definitely not the way for me
Diffstat (limited to '')
-rw-r--r--config/init-dired.el27
1 files changed, 27 insertions, 0 deletions
diff --git a/config/init-dired.el b/config/init-dired.el
new file mode 100644
index 0000000..160b86b
--- /dev/null
+++ b/config/init-dired.el
@@ -0,0 +1,27 @@
+;;; init-dired.el --- Configure dired -*- lexical-binding: t -*-
+;; Author: Franck Cuny <franck@fcuny.net>
+
+;;; Commentary:
+
+;; Configuration for dired-mode
+
+;;; Code:
+
+(require 'dired)
+
+(setq dired-clean-up-buffers-too nil)
+(setq dired-dwim-target t)
+(setq dired-hide-details-hide-information-lines nil)
+(setq dired-hide-details-hide-symlink-targets nil)
+(setq dired-listing-switches "-lah")
+(setq dired-recursive-copies 'always)
+(setq dired-recursive-deletes 'always)
+
+(setq dired-no-confirm
+ '(byte-compile chgrp chmod chown copy hardlink symlink touch))
+
+;; (dired-omit-mode nil t)
+
+(provide 'init-dired)
+
+;;; init-dired.el ends here