tmux – conf and layout


# 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
#bind S source-file ~/.tmux/session1


#! /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