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

[Bug] File preview(with bat) does not update after file modification with vim #538

Open
waynewaynetsai opened this issue May 12, 2024 · 0 comments

Comments

@waynewaynetsai
Copy link

waynewaynetsai commented May 12, 2024

Description:

When a file is modified using vim, the file preview(with bat) in jushuto does not update to reflect the changes. The preview only updates after restarting jushuto.


Steps to reproduce:

  1. Use jushuto to browse files and check the preview of a file.
  2. Open the currently selected file with vim and modify the content.
  3. Exit vim with :wq to return to jushuto.
  4. Check the preview of the modified file in jushuto. The preview does not reflect the changes made.

  • Workaround: Restarting jushuto updates the file preview.

  • Expected behavior: The file preview should update immediately after a file is modified, without needing to restart jushuto. This is the behavior observed in ranger.

  • Version: joshuto-0.9.8

@waynewaynetsai waynewaynetsai changed the title [Bug]: File preview(with bat) does not update after file modification with vim [Bug] File preview(with bat) does not update after file modification with vim May 12, 2024
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