Welcome to Vifm Q&A, where you can ask questions about Vifm usage. Registration is optional, anonymous posts are moderated. GitHub or Google logins are enabled.
0 votes
in vifm by

I have the following issue: when I want to MOVE a file from folder A to folder B on a fileserver (or more general on a hdd which does NOT contain the vifm trash folder) with "dd" and "p" the file is copied to the vifm trash folder on my local hdd and then copied back again on the fileserver. That takes a lot of time, e.g. for a file with several GBytes.

My current workaround is to open the folder A and B on two different panes and to ":move" the file. As a result the file is moved immediately.

However, using "dd" and "p" is much more convenient. Is there an alternative key mapping or a way to avoid copying the file to the local trash folder?

1 Answer

0 votes
selected by
Best answer

Default value of 'trashdir' option should account for this via %r/.vifm-Trash-%u part, which creates trash directory per user per mount point when possible (maybe it's not possible in your setup).

Alternatively, instead of using dd+p, use yy+P to move files from source to destination avoiding the trash.


Thank you, yy+P is awesome!