Tmux conf

This is my favor:  /root/.tmux conf:

# C-b is not acceptable — Vim uses it
set-option -g prefix C-a
bind-key C-a last-window

# Start numbering at 1
set -g base-index 1

# Allows for faster key repetition
set -s escape-time 0

# Set status bar
set -g status-bg black
set -g status-fg white
set -g status-left “”
set -g status-right “#[fg=green]#H”

# Rather than constraining window size to the maximum size of any client
# connected to the *session*, constrain window size to the maximum size of any
# client connected to *that window*. Much more reasonable.
setw -g aggressive-resize on

# Allows us to use C-a a <command> to send commands to a TMUX session inside
# another TMUX session
bind-key a send-prefix

# Activity monitoring
setw -g monitor-activity on
set -g visual-activity on
# Automatically set window title
setw -g automatic-rename

# Example of using a shell command in the status line
# Highlight active window
set-window-option -g window-status-current-bg red
# show host name and IP address on left side of status bar
set -g status-left-length 70
set -g status-left “#[fg=green]#(ifconfig eth1 | grep ‘inet ‘ | awk ‘{print \”\” $2}’)”

# show session name, window & pane number, date and time on right side of
# status bar
set -g status-right-length 82
set -g status-right “#[fg=yellow]%d %b %Y#[fg=green]#(uptime)”