-
Notifications
You must be signed in to change notification settings - Fork 62
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
Doesn't work when have 2 or more panes opened #69
Comments
Great Plugin! I've been using the Kitty Hints Kitten up to now, however I've recently started looking into tmux-thumbs to streamline by workflow a bit. One feature I'm missing dearly is to extract patterns from other visible panes. Consider the following use case: I've two panes open. One with a Maybe it would make sense to offer another command, which works on all visible panes? |
I have also stumbled across this issue once or twice. Not really sure during which pane configurations but the next time this happens I will try to take a look or at least note down my tmux configuration and post it here. |
I think this is because |
Just installed and messing a bit with configuration. There is something fishy here for sure. Also, if you are in copy-mode, it always works, regardless of pane "orientation" tmux -V = 3.1c EDIT: Well, not sure if it's orientation now, sometimes it works, other it does not 🤷 but changing the layouts triggers things |
If you are able to reproduce it, it will be awesome. I tried with many layouts, horizontal, vertical, copy mode, zoom, etc, and all of them work for me. I'm in tmux 3.0 and last tmux-thumbs master. Ensure you have the latest tmux-thumbs code compiled in release mode. I fixed some bugs about zooming and panes a few weeks ago. |
For me I can reproduce if:
It's weird because if I replace Step 1 with the vertical layout (C-b %), Step 4 is flaky (it works sometimes, sometimes not). I also did notice at one point that not all of the strings were getting matched (some IP addresses near the cursor in vim). FWIW if I split with I'm on Mac with Alacritty 0.8.0, tmux 3.2. I installed tmux-thumbs today using tpm. |
When there's more thant 2 pane in window. It rarely works. (It works sometimes, but hard to figure out why) |
I will try to battle test these use cases. |
I battle tested in my Linux + tmux 3.0a with multiple panes (vertical and horizontal), moving them, multiple windows and many more and always work. 😕 |
for me it always acts weird (buffer jumps backward) when the pane
at the same time tmux 3.2a I'm able to reproduce it consistently on both Mac and WSL |
I don't know if that's asking too much, but could you record a video? It's just to understand the behavior. |
sure thing! tmux-thumbs-issue-69.mp4note: my prefix binding is
|
So, the problems are related to copy-mode. I'll investigate and test it. |
I have been testing in copy-mode and everything works for me. 🤔 Is someone else facing this issue? |
https://asciinema.org/a/2TLriuUFvJaue6VkPbVZkwGDi [thumbs] pane open and exit directly. Not working also on normal mode.
And there's also an issue that it doesn't work if i am using non posix shell (elvish). (Used /bin/sh for the screencast) |
I have tested this configuration in my bash terminal, and it works. :/ Also, with /bin/sh works. Could you try a thing? Try to run this: This will run |
I was running into the issue every time I opened a pane vertically (below current). I wrote a small wrapper script for tmux, logging all calls to files, and I realised that depending on trivial changes in this wrapper, I would encounter the bug or not. Skipping on the details, but it looks like the bug occurring or not depends on the order of execution of Then I added a pause in the main function of
I still don't understand why, as |
I can't understand how is this possible, because as you said, everything is sync and the process waits all the commands to finish. |
I just installed thumbs on my work mac, and I have been getting the same problem as I was on linux. |
By any chance, is this issue related to the fact that activating tmux-thumbs in a window with split panes (horizontal or vertical) only shows hints in the current pane? This is a screencast that explains better the issue: screencast-220918-1744-29_1.mp4 |
I also have the same issue this is probably related to some conflicting key binding that another plugin is making for sure right? I always asumed this was the default behavior. working only on one pane. |
might be a long shot but I also use asdf and a rust compiled version of tmux-thumbs so the binary is being managed by asdf. |
No description provided.
The text was updated successfully, but these errors were encountered: