I'm trying to configure tmux so it starts creating a new session with three panes.
One big pane on the left und two small panes on the right side.
I set
set -g default-terminal "screen-256color"
in my tmux.conf - which can be found here.
I found a broken(?) solution for this:
# tmux session
rename-session foo
selectp -t 0
splitw -h -p 43 'ncmpcpp'
selectp -t 1
splitw -v -p 35 'ncmpcpp -s visualizer'
selectp -t 0
When using this, the first created pane, pane 0, has TERM=screen and not TERM=screen-256color. Both other panes, also new ones created, have TERM=screen-256color.
Any solution to this, or any other way how to create a session with only one window and X panes?