Some dired changes
This commit is contained in:
parent
d1c289d6e6
commit
50f131a64d
14
init.el
14
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))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user