Make dired "guess" target directory

Make dired "guess" target directory for some operations, like copy to
directory visited in other split buffer.

Close #2835
This commit is contained in:
Fabien Dubosson 2015-11-16 14:58:54 +01:00 committed by Eivind Fonn
parent ee4ad69847
commit 98fa5e8d7c

View file

@ -76,6 +76,10 @@
(setq global-auto-revert-non-file-buffers t
auto-revert-verbose nil)
;; Make dired "guess" target directory for some operations, like copy to
;; directory visited in other split buffer.
(setq dired-dwim-target t)
;; Regexp for useful and useless buffers for smarter buffer switching
(defvar spacemacs-useless-buffers-regexp '("*\.\+")
"Regexp used to determine if a buffer is not useful.")