-
Notifications
You must be signed in to change notification settings - Fork 23
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
An unexpected delay occurs when opening Yazi (:Yazi) when using tmux #603
Comments
Hi, are you still working on this issue? I currently see a still image but was expecting maybe a video and some explanation. |
Are you on Windows by any chance? I'm thinking it's maybe related to your environment. Can you try to reproduce it with a minimal configuration? That way we could learn a bit more about the issue. For reference, here is the performance that I see in my own setup: toggle.mov |
You could also try opening |
When I follow these instructions, I get the same error as reported here. Takes almost 10 seconds to open a functional yazi pane. It hangs saying When I run |
It looks like there is some delay in opening yazi.
|
I noted that I followed your instructions to the same result, as well as running |
If it's also slow when starting yazi outside of yazi.nvim in a terminal, it's most likely an issue with yazi. It might be that it needs to be addressed there. But before opening an issue against yazi, it might be worth it to try https://github.com/sxyazi/yazi/releases/tag/v0.4.0 which was released about an hour ago. It may work better, and most likely fixing this issue should be done against the newest version anyway. |
Hey @mikavilpas Here is my configuration if you still need to try and reproduce the issue. And yes technically I am on windows but I am using WSL2 Ubuntu. https://github.com/itse4elhaam/nvim-nvchad/tree/feat/yazi Also, yes it does seem like an env related issue. |
@mikavilpas I think you can close this issue. The problem seems to occur when you try to open yazi in a Nvim integrated terminal. Thanks for your support man! |
Hi, thanks for looking into this. I'm already running 0.4.0, as I tested it for this issue and updated all my plugins. As stated in orange, I tried running it in a In red, I noted that the issue does not occur outside Hope this clears everything up. |
@redbeardymcgee instead of bisecting your config, can you try the following: If you open yazi in the minimal reproduction setup (detailed in https://github.com/mikavilpas/yazi.nvim/blob/main/documentation/reproducing-issues.md), do you get the slow startup with yazi.nvim? Also, do you get the slow startup in |
@mikavilpas I'm so sorry, but can I confirm that you are able to see my comments in full? I'm worried that perhaps github is hiding them from you, or truncating them perhaps? EDIT: reword to be clearer that i'm concerned my comments are somehow broken or missing |
I have confirmed the issue exists even with the minimal repro config. Log
|
I encountered a similar issue on macOS with WezTerm inside a tmux session. I have already migrated my configuration to Yazi 4.0. Yazi works well for me outside of Neovim and inside Neovim when not in a tmux session. However, I have noticed that Yazi starts a bit slower inside of neovim after the update. I tried to open Yazi inside of Neovim's builtin terminal. The issue persists when inside tmux session. |
Yazi 0.4.0 (60ed6c9 2024-12-08) fixed this issue for me. Thanks for your awesome repro config @mikavilpas, it really saved me a lot of time and complexity. sxyazi/yazi#2015 indicates that WSL environments may still be affected, for any future readers who arrive here. |
Awesome! I pinned this issue as I think it may be a common bug with the yazi version 0.4.0 |
I can confirm that Yazi's latest commit fixed the issue. |
Excellent work. I'll close this issue as the cause seems to be known and a fix is available in the nightly yazi. |
Released a new version with the fix https://github.com/sxyazi/yazi/releases/tag/v0.4.1 🎉 |
Very nice! Thanks again for a fast response 👍🏻 |
It includes this important fix - #603 For the full release notes, see - https://github.com/sxyazi/yazi/releases/tag/v0.4.1
It includes this important fix - #603 For the full release notes, see - https://github.com/sxyazi/yazi/releases/tag/v0.4.1
Thanks guys! I had this exact problem after updating to v0.4.0. After updating to v0.4.2 fixed this issue. Appreciate all the help and quick response! |
I have it in yazi 0.4.2, but only when using this plugin and my config. it works normally with |
@juanibiapina try to pin down where it happens. You can try disabling half of your plugins/config and retrying until you find the cause, for example (binary search) |
It happens with vim-projectionist plus:
😱 |
Interesting! Could you open a new issue for this? I can take a look at it in the coming days. |
The text was updated successfully, but these errors were encountered: