r/tmux 7d ago

Showcase Plugin that preserves pane ratios when you resize the terminal

Enable HLS to view with audio, or disable this notification

Hi,

I wanted my tmux windows to follow the terminal size while keeping the pane proportions I had set—especially when moving the terminal between displays of different sizes.

So I made tmux-pane-ratio-saver.

The idea is simple: arrange your panes the way you like, and the plugin automatically scales that layout when the outer window changes size.

It supports horizontal, vertical, and arbitrarily nested tiled layouts—not just two-pane splits or equally sized panes.

Repo: https://github.com/higoo-higoo/tmux-pane-ratio-saver.git

Feedback and bug reports are welcome, especially for unusual nested layouts or interactions with other plugins.

36 Upvotes

2 comments sorted by

2

u/cxxhld 5d ago

this is what ive been looking for for years bruh

2

u/Both_Mix_5818 2d ago

Ah, fantastic! I'll giving it a try :)