Enhance a bit stock dired config
This commit is contained in:
parent
f4d71fea83
commit
1f8baf08eb
1 changed files with 8 additions and 0 deletions
|
@ -314,6 +314,14 @@ Will only occur if prelude-whitespace is also enabled."
|
||||||
;; dired - reuse current buffer by pressing 'a'
|
;; dired - reuse current buffer by pressing 'a'
|
||||||
(put 'dired-find-alternate-file 'disabled nil)
|
(put 'dired-find-alternate-file 'disabled nil)
|
||||||
|
|
||||||
|
;; always delete and copy recursively
|
||||||
|
(setq dired-recursive-deletes 'always)
|
||||||
|
(setq dired-recursive-copies 'always)
|
||||||
|
|
||||||
|
;; if there is a dired buffer displayed in the next window, use its
|
||||||
|
;; current subdir, instead of the current subdir of this dired buffer
|
||||||
|
(setq dired-dwim-target t)
|
||||||
|
|
||||||
;; enable some really cool extensions like C-x C-j(dired-jump)
|
;; enable some really cool extensions like C-x C-j(dired-jump)
|
||||||
(require 'dired-x)
|
(require 'dired-x)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue