jimeh / tmuxifier

Tmuxify your Tmux. Powerful session, window & pane management for Tmux.
MIT License
1.24k stars 107 forks source link

fix(layout-helpers): split_h/split_v work correctly on latest tmux #99

Closed jimeh closed 7 months ago

jimeh commented 7 months ago

The -p flag on split-window was deprecated in Tmux 3.1 in favor of just adding a % suffix to the numeric value given to the -l flag.

This uses the new -l <n>% format on Tmux 3.1 and later, and uses the old -p <n> format on 3.0 and older.