Fix yazi shortcut
This commit is contained in:
parent
16b77fee0a
commit
07928e2e6e
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue