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.

view refresh on file deletion

0 votes
asked Jun 10 in vifm by mrajner

When I use :view for quick content inspection, and then I use dd on current file, the index list is refreshed, and no name of deleted file appears, and the next file is selected. However the view window is not refreshed, showing the content of deleted line. After moving around with j or k it is sync again. But how can I force immediate refresh after dd?

1 Answer

0 votes
answered Jun 10 by xaizek

This seems to work around the problem:

nnoremap DD DD<c-l>
nnoremap dd dd<c-l>

Which is really a bug, so thanks for the bug report!

You're using development version and not 0.10, right? I can't reproduce it with 0.10.

commented Jun 10 by mrajner

Thanks for prompt answer and workaround.

Yes, I created it from source but anyway vifm --version shows v0.10

Version: 0.10
Git info: built out of repository
Compiled at: Apr 24 2019 00:15:07

Support of extended keys is on
Parsing of .desktop files is enabled
Without GTK+ library
With magic library
With X11 library
With dynamic loading of X11 library
With file program
With -n option for cp and mv
With remote command execution
commented Jun 12 by xaizek

Fixed it (commit), so you can download new version and get rid of the workaround.

vifm --version shows v0.10

That's expected. Development version has number of the last release.

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.
...