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.

Progress bar?

0 votes
asked Jan 12, 2016 in vifm by anonymous

Is there a progress bar for long file transfers? ranger does this beautifully.

1 Answer

0 votes
answered Jan 12, 2016 by xaizek

Yes, but you need to switch implementation via system calls on to enable it:

set syscalls

By default, external utilities like cp, mv are used and one can't get meaningful progress from them.

commented Jan 13, 2016 by anonymous

Is it normal that I cannot use vifm while something is copying?

Also: Are there shortcuts to pause or abort an ongoing process?

commented Jan 13, 2016 by xaizek

Is it normal that I cannot use vifm while something is copying?

Yes, because operations are run in foreground by default. Append " &" to a command if you want to run it in background. In this case there will be different progress bar.

Are there shortcuts to pause or abort an ongoing process?

Ctrl-C aborts the operation.
commented Jan 14, 2016 by anonymous

What if I copied by typing yy?

commented Jan 14, 2016 by xaizek

In this case there is :put & in 0.8.1, which you can bind to p or some other key.

commented Jan 14, 2016 by anonymous

Any reason why this isn't the default behavior? Why freeze the whole file manager while copying?

commented Jan 14, 2016 by xaizek

Consistency of file system and ability to undo operations. Doing one operation at a time ensures that operations are serialized and don't affect each other potentially producing all sorts of errors. Although ability to send foreground operation to background would probably be useful, especially if undo list could be preserved. Also I guess that most of operations are fast and you don't really need to wait long for them to finish, it's just copying across partitions that is usually slow. Maybe it was just easier to implement file operations this way and I'm got used to it (but I don't really remember having problems with this approach, maybe because it's how you would do such operations in a shell).

If you would like to make a bug report or feature request consider using GitHub, SourceForge or e-mail. Posting such things here won't be considered as spam, but this is not a perfect place for it.
...