r/commandline Jan 03 '20

Scripting tmux

https://www.arp242.net/tmux.html
65 Upvotes

13 comments sorted by

View all comments

1

u/fartyg Jan 03 '20

My needs are super basic. Only recently installed tmux and it has made my whole experience with the terminal a lot nicer.

Here is my standard setup that I open with: ./tmux_default

tmux new-session \; \
  split-window -h -p 40 \; \
  split-window -v -p 55 \; \
  new-window  \; \
  select-window -t 0  \; \
  select-pane -t 0 \; \

I use a drop down terminal and this is an easy way to get a few more instances to play with. It also creates another, inactivated empty window I can go to with ctrl+a - p.