joshmedeski / t-smart-tmux-session-manager

t - the smart tmux session manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Keybinds not working

hqkhan opened this issue · comments

Hello. Ever since I've updated the plugin, I'm finding that the keybind won't work anymore. C-b T does not bring up the tmux-popup. I can call t directly which works fine. Doing so via keybind does not work. Do you have any ideas as to what's happening?

What version of bash are you using? This plugin now requires bash >= 4.0

Learn more here

I am using bash >= 4.0

 bash --version
GNU bash, version 4.2.46(2)-release (x86_64-koji-linux-gnu)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

I can also see my keybind:

bind-key    -T prefix       T                    run-shell /home/hqkhan/.config/tmux/plugins/t-smart-tmux-session-manager/bin/t

I'm also using:

  - { key: J, mods: Command, chars: "\x02\x54" } # open t - tmux smart session manager

in Alacritty.

Hmm, does the t script work in your CLI? Maybe there's another dependency issue.

Yes, the t script works fine. I just can't invoke it using tmux

I recommend setting this in your tmux.conf

set -g @t-bind 'T'

And try killing tmux completely and trying agin. You can also replace 'T' with a different letter to see if it can work.

I tried exactly that. Also tried different keybinds. Restarted tmux server but it still hasn't worked. I'll give it another shot

Okay, let me know if you get to the root of it. Even restarting your computer might help.

Did you rebind your prefix key? If so, you'll have to change the hex code in your Alacritty config.

Did you rebind your prefix key? If so, you'll have to change the hex code in your Alacritty config.

No I did not. I just the default prefix. I've been using this plugin for a while without issues. I have a fork as well. I updated from upstream and now am having a hard time. I did try your version as opposed to my fork but both had this issue

Uhh. So, I killed my server, left my ssh connection. After that, everything is working fine :| lol

Thank you!

That's good news! I guess the SSH layer must have created some sort of additional issue.