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.

How zip selected files in vifm?

0 votes
asked Feb 8, 2019 in vifm by ivan777

Can i archive selected files in vifm?

1 Answer

0 votes
answered Feb 8, 2019 by xaizek

For example, you can define zip command in your vifmrc file (the check is to do nothing if you forget to specify name):

command! zip if [ -n "%a" ]; then
           \     zip -r '%a.zip' %f;
           \ fi

Then do the selection and run

:zip archive-name
If you would like to make a bug report or feature request consider using GitHub, SourceForge or e-mail. Posting such things here is acceptable, but this is not a perfect place for them.