Last active
December 11, 2023 12:05
-
-
Save andrevdm/78bacea01ce487b85c246461110b76c7 to your computer and use it in GitHub Desktop.
tmux floating terminal per pane
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Per pane floating window | |
#Toggle with ` (grave) key | |
bind ` if-shell "echo '#{session_name}' | grep -q 'fterm-'" { | |
detach-client | |
} { | |
run-shell "tmux popup -E 'tmux attach -t fterm-#{session_name}-#{pane_id} || tmux new -s fterm-#{session_name}-#{pane_id}'" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment