I am using spacemacs. I want to achieve similar thing to the one in question browse through bookmarks in dired.
I would like to be able to quickly choose an alternative destination from within the helm-mini-buffer:
- a bookmarked directory
- a directory from the current buffer list
The default option just shows all reachable destinations in the directory of the opened file.
I want to have the following behavior:
Open the copy file Helm mini-buffer with spacemacs/copy-file (just Helm copy file function). Then have some shortcut which toggles the showing of bookmark paths on and off (in addition to the default showing of files and directories in the proximity of current buffer) so I can copy the file to this destination.
This goal may be a little ambitious.
Simpler alternative in which I am also really interested is to yank the path of a certain bookmark. Then I just could use the regular copy command and insert the desired path as the copy destination. There is a list-bookmarks function in which one can see the file/directory paths, but I don't know how to grab them.
Of course I can go to the bookmarked directory, copy the path, go to the original file and then use the copy command but I find this cumbersome.