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 use Vifm's SSHFS mounts as provided in the Vifmrc file,

filetype *.ssh
       \ {mount with sshfs}
       \ fuse_mount2|sshfs %param %destination_dir %foreground,

My problem is that the remote machine to which I connect is usually very slow, so that an operation as simple as changing directory can take a handful of seconds — not to mention copying files from/to it. Meanwhile, Vifm is frozen and, for example, I cannot switch to the other pane or to another tab to carry out some other task.

Of course this is not Vifm's fault, but I wonder if there is already some way to circumvent it that I'm missing? I have tried

set slowfs=~/.local/share/vifm/fuse

but it didn't help in that regard.

1 Answer

+1 vote
selected by
Best answer

FS interactions are synchronous. 'slowfs' skips some unessential operations, but if listing directory even once is too slow, it won't make much difference.

I don't know how ssfhs deals with directory entries, but if it requests information separately for each file, navigating in a shell might be substantially faster if you do ls and not ls -l to just get file names without metadata.

Can't really offer anything other than this.

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.

Support Ukraine