Hi,
I do something vaguely similar; you could riff off of it and if others have
a better suggestion, pipe up.
bind BSpace run-shell tmux-swap
tmux-swap:
#!/bin/sh
tmuxcmd="tmux -Lmain"
cur=$($tmuxcmd list-panes | grep "(active)" | cut -d':' -f1)
if [[ $cur -eq 0 ]]; then
$tmuxcmd select-pane
dear reader,
i think the conversation i had with NicM on irc explains about a
feature request that i want to make.
feel free to comment on it with your ideas, i think it is a pretty
good idea and might easily become a feature loved by many.
13:58 -!- Irssi: Join to #tmux was synced in 4 secs