Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

directory view doesn't change on operations like file creation, deletion, copy, pasting #821

Closed
ayushnix opened this issue Apr 30, 2022 · 1 comment

Comments

@ayushnix
Copy link

With a vanilla installation and no custom configuration, file operations like copy, paste, creation, and deletion do not update the view inside a directory. Unless I manually perform a reload, the result of these operations isn't visible.

Files are created using $touch and $mkdir and deleted using the built-in :delete command. Copying and Pasting were also done using the built in command.

Is this behavior intended? Even with the following options in ~/.config/lf/lfrc,

set nodircache
set period 1

there's no change in this strange behavior. Is it expected to perform a reload for each and every file operation? I'm apprehensive about doing that because every reload operation flickers the entire terminal lf screen for an instant, which is pretty jarring.

@ayushnix
Copy link
Author

ayushnix commented Jul 6, 2022

I've managed to solve this issue. For posterity, I was using mergerfs and this issue was visible only on mergerfs mounts. After trying several different options, I found that using func.getattr=newest or category.search=newest in the mergerfs mount options resolves this issue.

@ayushnix ayushnix closed this as completed Jul 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant