omerxx / tmux-sessionx

A Tmux session manager, with preview, fuzzy finding, and MORE
GNU General Public License v3.0
551 stars 51 forks source link

Issue: Unable to Execute the Plugin #45

Open shricodev opened 4 months ago

shricodev commented 4 months ago

Problem

I am not able to run the plugin. This is the config: https://github.com/shricodev/dotfiles/blob/135416e8ab7e6f9b50c7720c27d4ab77a3b3c7e2/tmux/.config/tmux/tmux.conf

I have fairly updated dependencies

deps_status


Already tried

I have installed the plugin, sourced it, and tried changing the default binding, but without any success. :(

NOTE: I am using a fish shell 3.7.0

.dotfiles on master > fish --version
fish, version 3.7.0
omerxx commented 4 months ago

Hey @shricodev what is the behaviour exactly? A pop up window that instantly disappears? Or nothing at all? Any chance you try to change the default binding to something else and try again (making sure there's no conflict there).

Also, stating the obvious but just in case - the plugin is installed right? You should be able to see it under your Tmux dir under plugins

shibisuriya commented 4 months ago

One of the things that I have observed is that when you override the default keymaps of sessionx in tmux.conf file, the plugin doesn't go back to its default keymaps even after you remove the settings from tmux.conf and I to make tpm reinstall everything...

shricodev commented 4 months ago

@omerxx Nothing shows up at all. I have made sure that it is installed and even tried changing the bindings to ‘q,’ for example.

installed_tmux_plugins nvimtree_tmux

I don't think but maybe the problem is specific to my shell, fish 🤷‍♂️. I will try it with Zsh and let you know. If possible, could you try stowing my tmux dotfile config on your local system and see if it works for you?

omerxx commented 4 months ago

I'd really love to hear whether ZSH does the trick. Although I did have fish users running the plugin (with other issues such as renaming etc). Please let me know so we can document this and maybe find a solution.

I'll try to reproduce but it'll take a while 🙏🏽

shricodev commented 4 months ago

@omerxx, I installed and switched my shell to ZSH, but it did not help either. Now I think this issue may be somewhat related to my machine configs since, I don't have conflicting bindings for tmux. Perhaps something isn't right, and I need to figure out where. Yes, please try to reproduce this locally.

Also, for reference, I am using WSL if that matters. Closing the issue for now; feel free to reopen the issue after reproducing or if someone else faces the same issue in the future to discuss it further.

ibrittez commented 1 month ago

@shricodev Hi! by any chance you were trying to use it with tmux 3.2?

sasank-desaraju commented 3 days ago

I am in a similar boat where I am running Zsh on Pop_OS 22.04 with fzf, fzf-tmux, bat, and zoxide at latest versions and the plugin is not working. I tried put in an echo statement at the top of tmux-sessionx/sessionx.tmux and it does not print.

ibrittez commented 2 days ago

@sasank-desaraju Have you checked your tmux version?? The default apt version on 22.04 its tmux 3.2a, at least for me it doesn't work

sasank-desaraju commented 2 days ago

I upgraded to next-3.5 before posting my earlier post and it did not work :/ Here is more info about my versions: Screenshot from 2024-06-30 01-05-16

ibrittez commented 1 day ago

In my case, after updating tmux, everything works with these versions:

~ % tmux -V
tmux 3.4
~ % fzf --version
0.52.1 (6432f00)
~ % fzf-tmux --version
fzf-tmux (with fzf 0.52.1 (6432f00))
 ~ % bat --version 
bat 0.24.0 (fc95468)
~ % zoxide --version
zoxide 0.9.4

I don't know what the next-tmux versions are. Did you try "normal" tmux?