This is my tmux configuration.
brew install tmux
git clone https://github.com/chaozwn/tmux.git ~/.config/tmux
Then
tmux
press ctrl+t+I
export TERM="xterm-256color"
#Tmux的配置和使用
tmux new -s session_name
prefix + d
tmux detach
tmux a -t session_name
tmux kill-session -t session_name
tmux switch -t session_name
tmux rename-session -t session_name new_session_name
prefix $
tmux kill-server
tmux ls
prefix s
prefix I
prefix c
prefix number
prefix x
prefix !
prefix ,
prefix n/prefix p
prefix w