DIRED: Add guessing of target directory

This commit is contained in:
Laurens Miers 2024-09-26 22:21:11 +02:00
parent 6127374888
commit bbffcd8d2b

View file

@ -483,6 +483,15 @@ C-c C-c to apply."
))
#+end_src
** Guess target directory
I currently prefer to have two dired windows open in the same frame.
Instruct dired to 'Prefer next windows on the same frame' when renaming/copying files.
#+BEGIN_SRC emacs-lisp
(setq dired-dwim-target 'dired-dwim-target-next)
#+END_SRC
* Whole-line-or-region
Source: