diff --git a/init.el b/init.el index b1dfa18..f0f2fbc 100644 --- a/init.el +++ b/init.el @@ -1064,10 +1064,18 @@ If no name is given, list all bookmarks instead." :ensure nil :init (setq-default dired-kill-when-opening-new-dired-buffer t) + (setq delete-by-moving-to-trash t + dired-recursive-copies 'always + dired-recursive-deletes 'always + dired-dwim-target t + dired-create-destination-dirs 'ask + dired-create-destination-dirs-on-trailing-dirsep t + dired-isearch-filenames 'dwim + dired-do-revert-buffer (lambda (dir) + (not (file-remote-p dir))) + dired-clean-up-buffers-too t + dired-clean-confirm-killing-deleted-buffers t) (evil-define-key '(normal visual motion) dired-mode-map - "u" #'dired-unmark - "U" #'dired-unmark-all-marks) - (evil-define-key '(normal visual motion) wdired-mode-map "u" #'dired-unmark "U" #'dired-unmark-all-marks))