jeffnguyen695 / tmux-zoxide-session

Tmux session manager with the power of zoxide.
GNU General Public License v3.0
45 stars 1 forks source link

Popup inmediately closed after invocation #1

Open Qkessler opened 5 months ago

Qkessler commented 5 months ago

Hi there!

Thanks so much for your work! Was interested in trying it out today and used the example configuration on the README:

# Tmux Zoxide Session

set -g @tzs-key-accept 'enter'
set -g @tzs-key-new 'ctrl-e'
set -g @tzs-key-kill 'ctrl-x'
set -g @tzs-key-rename 'ctrl-r'
set -g @tzs-key-find 'ctrl-f'
set -g @tzs-key-window 'ctrl-w'
set -g @tzs-key-select-up 'ctrl-p'
set -g @tzs-key-select-down 'ctrl-n'
set -g @tzs-key-preview-up 'ctrl-u'
set -g @tzs-key-preview-down 'ctrl-d'
set -g @tzs-key-help 'ctrl-h'
set -g @tzs-key-quit 'esc'
set -g @tzs-key-launch 'S'

## UI
set -g @tzs-preview-location 'top'
set -g @tzs-preview-ratio '65%'
set -g @tzs-window-height '75%'
set -g @tzs-window-width '75%'

set -g @tzs-key-accept-icon '󰿄'
set -g @tzs-key-new-icon ''
set -g @tzs-key-kill-icon '󱂧'
set -g @tzs-key-rename-icon '󰑕'
set -g @tzs-key-find-icon ''
set -g @tzs-key-window-icon ''
set -g @tzs-key-select-up-icon ''
set -g @tzs-key-select-up-icon ''
set -g @tzs-key-preview-up-icon ''
set -g @tzs-key-preview-down-icon ''
set -g @tzs-key-help-icon ''
set -g @tzs-key-quit-icon ''

... # more plugins

set -g @plugin 'jeffnguyen695/tmux-zoxide-session'

When invoking <prefix>S I see a flash for the popup being created, but it's immediately dismissed, without any action on my side. I'm using Alacritty as the terminal.

Kapture 2024-05-28 at 10 51 14

Qkessler commented 5 months ago

Tested adding all the config options after the tpm call, without luck.

jeffnguyen695 commented 3 months ago

Hi @Qkessler so sorry for the late reply. Could you try another terminal emulator to see whether the issue persists? Could you try WezTerm which is the one I'm using it on? btw, the configuration part you only need to add to your tmux.conf if you want to customize. If not, can remove it and use the default.

Qkessler commented 3 months ago

Hi there! I haven't tested further, but have indeed moved to the Wezterm mux directly! Thanks for responding!