tmux – conf and layout

~/.tmux.conf

# remap prefix to Control + a
set -g prefix C-a
# bind 'C-a C-a' to type 'C-a'
bind C-a send-prefix
unbind C-b


# learn how to script this
# https://stackoverflow.com/questions/5609192/how-to-set-up-tmux-so-that-it-starts-up-with-specified-windows-opened
#bind S source-file ~/.tmux/session1

~/dev-tmux

#! /bin/sh

tmux new-session -d
tmux split-window -h -p 80 
tmux select-pane -t 0
tmux split-window -v -p 33
tmux select-pane -t 2
tmux splitw -h -p 50
tmux select-pane -t 0
tmux -2 attach-session -d