-
Notifications
You must be signed in to change notification settings - Fork 333
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
The change panels mappings freeze my terminal #299
Comments
Hi @renan-eccel, did you check into any of the troubleshooting tips in the readme? Hard to say what might be happening without knowing a bit more. |
yes, I checked it. |
Same here. Enabling the plugin freezes the terminal. |
Hi @sfc-gh-ssudakovich, any recent updates to your setup that might be tied to this? Updating tmux, this plugin, tmux config, shell, etc? Also, when you say
Can you provide any more detail? By "enabling" do you mean just adding the config to tmux / vim setup, or are your referring to using it with the And when you say "freezes", the thing that comes to mind is Ctrl-s / Ctrl-q freezing. Does that correctly describe what's happening, or is it something else? |
Sorry, I should have been more clear.
|
Hi @sfc-gh-ssudakovich thanks for the additional notes. Sounds like something in 3.2a is not happy with the plugin. Just to confirm, does the 30-60 seconds of freezing happen when you first activate tmux, or only when using the Also, do you happen to know what version you were on prior to upgrading to tmux 3.2a? I'm wondering if can narrow down the problem release. |
I am experiencing exactly the same issue and here is my setup and symptoms. When I comment out (disable) I was using The terminal freezes for about 43 seconds for me as shown below in a gif. After the freeze, everything I type during the frozen period shows up in the pane that was supposed to have the cursor when |
Same is happening to me. I don't remember modifying anything lately. While checking what was going on I reinstalled tmux and the plugins with the same results (iirc I had a HEAD version from april, and now I have the latest). This happens also outside vim when switching panels. For me it also took around 40-42 seconds. If I directly map the key with I'm using fish and alacritty in mac, but same happens with terminal + zsh. The following command also takes around 40 sec to display the message and freezes tmux completely: |
Hi folks, thanks to everyone for sharing the info thus far. I've opened an issue against tmux proper as I believe this discussion is pointing to a regression on that side of things (although I'd happily accept that I'm doing something wrong in the plugin). I'll update here as I learn anything, and please feel free to continue sharing anything you find. |
More data points:
I suspect this has to do with tty option of |
Hey folks, I'm not sure when I'll be able to get around to it, but if anyone's up for trying to dig in further, tmux has notes on the issue template related to debugging / grabbing additional info: https://github.com/tmux/tmux/blob/master/.github/CONTRIBUTING.md. If anyone wanted to grab than and either share here or open a new issue on https://github.com/tmux/tmux, that would be great. |
Temporary workaround: |
I can confirm that modifying the For context I am on
|
I change mine to the following:
|
same issue..didn't update anything. everything starts freezing as soon as I open a new pane. can confirm that @idonchu and @hurricanehrndz fix worked for me |
Thanks all for the discussion and help here, and thanks to @kidonchu for providing the new snippet. I've tested and the updated snippet does seem to work for me, so I've opened #300 to update the documentation. My only concern is that I'm running a recent version of tmux, but I'd like to make sure this works for previous versions as well. Ideally we can avoid wrapping the |
I also experienced current is_vim too laggy. None of it worked for me.
EDIT: I'm still experiencing wierd random hang in mac. |
don't shoot, just asking ;) why not use |
@vitaly pane_current_command is nice but won't work if vim is running as subprocess. |
More information can be found here: christoomey/vim-tmux-navigator#299
I am using ITerm2 3.4.8 and tmux 3.2.
Yesterday everything was working right. I was using a vim and tmux together and the mappings are working as usual.
However, when I opened the shell where I stopped working, the <ctrl+h> mapping froze my shell.
Since this, all the 4 mappings to change panels are doing the same thing.
The text was updated successfully, but these errors were encountered: