Hi again,

Here's a screenshot: https://adamsgaard.dk/tmp/center-pane-layout.png

The following bind for .tmux.conf configures this layout on a tmux window,
provided that it has a single pane to begin with:

        bind F \
                split-window -h \; \
                split-window -h \; \
                select-pane -L \; \
                swap-pane -U \; \
                select-pane -R \; \
                select-layout even-horizontal

Best, Anders

* Anders Damsgaard <[email protected]> [2021-11-24 11:11:10 +0100]:

Hi Hugo,

You can get close by splitting the window into three panes and using the
even-horizontal layout, e.g. with `tmux select-layout even-horizontal`.
You can resize the left and right pane dividers to your liking, and
script it if you wish.

Cheers, Anders

* Kleber Hugo Stangherlin <[email protected]> [2021-11-23 20:38:54 
+0000]:

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/YZ4TLmy4Dnj4lgZB%40asa.adamsgaard.dk.

Reply via email to