Welcome to Vifm Q&A, where you can ask questions about using Vifm. Registration is optional, anonymous posts are moderated. E-mail and GitHub logins are enabled.
0 votes
in vifm by

Hi

I would like to be able to highlight a directory and press a key to move it to a specified folder. Is this possible?

Thanks!

1 Answer

0 votes
by

Hello,

Try like this (,m key and ~/storage directories are given as an example):

nnoremap <silent> ,m :move ~/storage<cr>
by

Hi,

thanks for the quick response!

I get the error: Destination directory is not writable

I have the correct permissions for the folders and I can copy and move files outside of vifm to the location set in the config with cp, mv etc

I guess this could be an issue with my system config though.

by

Is that a regular directory or some kind of network share or otherwise special mount? On which OS is that?

by

Yes, mounted nfs on Linux, but having tried moving a local file to a local dir, the same error occurs!

by

Sounds like there is a mistake in your command. Can you show it?

...