4

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?

3

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 16
  • 1
    Note, you can specify a percentage size for the new pane with option -p 20 to the split-window command. – meuh Jan 20 at 8:57
  • That's great, thank you – Tai Nguyen Jan 21 at 16:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.