Fix yazi shortcut

This commit is contained in:
alejandro-angulo 2026-02-28 22:31:50 -08:00
parent 16b77fee0a
commit 07928e2e6e

View file

@ -116,7 +116,7 @@ in
# Open yazi in a popup
# Spins up a new session with a '-yazi' suffix (hitting the shortcut
# toggles between attaching and detaching)
bind C-g if-shell "[[ $(tmux display-message -p '#S') == *-yazi ]]" {
bind C-y if-shell "[[ $(tmux display-message -p '#S') == *-yazi ]]" {
detach-client
} {
display-popup -h 90% -w 90% -E "tmux new-session -A -s $(tmux display-message -p '#S')-yazi ${pkgs.yazi}/bin/yazi"