How to open new Tmux pane horizontally with 20% tall?
By Abigail Rogers •
Normally I have to create a new horizontal pane with Ctrl + b + _ and then resize it down with Ctrl + b + J
How can I configure tmux to do this with just one command?
1 Answer
It turns out I can bind 1 shortcut to do 2 commands separated by \;
bind + split-window -v -c "#{pane_current _path}"\; resize-pane -D 20Edit: Thank to Meuh's help, now it looks like this
bind + split-window -v -p 20 2