This would also do the trick. I use it all the time.
Fullscreen an empty pane and then press F4 for the desired effect.
I think changing the size of the popup is self-explanatory.
add to .tmux.conf:
bind-key -N "Toggle persistent popup shell" \
-n F4 if-shell -F '#{==:#{session_name},float}' { detach-client } \
{ popup -E -w60% -h60% \
'tmux attach -t float || tmux new -s float; \
display-message "Press F4 to toggle floating popup or Ctrl-D to kill it"' \
}
-n F4 if-shell -F '#{==:#{session_name},float}' { detach-client } \
{ popup -E -w60% -h60% \
'tmux attach -t float || tmux new -s float; \
display-message "Press F4 to toggle floating popup or Ctrl-D to kill it"' \
}
Gesendet: Dienstag, 23. November 2021 um 21:38 Uhr
Von: "Kleber Hugo Stangherlin" <[email protected]>
An: "[email protected]" <[email protected]>
Betreff: Feature suggestion: Centralize pane for large terminals
Von: "Kleber Hugo Stangherlin" <[email protected]>
An: "[email protected]" <[email protected]>
Betreff: Feature suggestion: Centralize pane for large terminals
Hi,
Thank you all for the fantastic work with tmux!
I would like to suggest a new feature: pane centralization.
Context: I use full screen terminals to avoid getting distracted. This means that I am constantly looking at the bottom of my monitor when typing the next command - not ideal. If we a way to centralize the pane, with margins for bottom, left and right, it would be very comfortable. Something like what is displayed when I open a session of tmux that is already opened in another computer, and with different terminal sizes.
I hope you guys can consider it.
All the best,
Hugo
--
You received this message because you are subscribed to the Google Groups "tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web, visit https://groups.google.com/d/msgid/tmux-users/YTBPR01MB3887491879C86C7FDF111800C2609%40YTBPR01MB3887.CANPRD01.PROD.OUTLOOK.COM.
You received this message because you are subscribed to the Google Groups "tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web, visit https://groups.google.com/d/msgid/tmux-users/trinity-ece665e4-2f5f-49f1-ae64-b208f6103d07-1637766573661%403c-app-gmx-bap44.
