Is there a way to use bookmarks or the buffer list of open buffers to efficiently copy/move marked files/directories to another directory?
As an example, imagine I want to copy the files foo.txt
and bar.txt
from existing location to a bookmarked directory.
The image above shows the result after marking the two files in dired
and then hitting C
.
At this point, emacs suggests the current directory as the destination for copying.
I would like to be able to quickly choose an alternative destination from within the mini-buffer:
- a bookmarked directory
- a directory from the current buffer list
So, once I have marked files, hit C
, and am in the mini-buffer,
ideally it would be possible to either:
- invoke
bookmark jump
to quickly save marked files to a bookmarked directory - invoke something (?) to quickly select a directory from the current buffer list and then save marked files to that directory
I know I can impact the default destination directory by splitting the window and having the desired destination directory visible, but that seems like additional steps that shouldn't be necessary.
I currently use ivy/counsel/swiper
, and thought that it might be
possible with that, but haven't been able to find a solution.
I would prefer a solution based on ivy/counsel/swiper
, but am open to
other solutions that make use of dired
or dired+
(e.g, ido
, icicles
).
I'm not interested in solutions that involve alternatives to dired
or dired+
(e.g., dropping to a shell, ranger
, midnight commander
).
Unfortunately, I don't have the skills to write something like this myself, so I'm hoping there is an existing solution. This seems like the kind of thing that many emacs users would want to be able to do, so I'm surprised my searches didn't turn up anything.