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 syl20bnr#2835
  • Loading branch information
StreakyCobra authored and d12frosted committed Nov 23, 2015
1 parent b2e2609 commit 290f31f
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 290f31f

Please sign in to comment.