Skip to content

Commit

Permalink
Make dired "guess" target directory
Browse files Browse the repository at this point in the history
Make dired "guess" target directory for some operations, like copy to
directory visited in other split buffer.

Close #2835
  • Loading branch information
StreakyCobra authored and TheBB committed Nov 16, 2015
1 parent ee4ad69 commit 98fa5e8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions layers/+distribution/spacemacs-base/config.el
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
Expand Down

0 comments on commit 98fa5e8

Please sign in to comment.