## .tmux.conf 内容:
set -g history-limit 10000
# Automatically set window title
#set-window-option -g automatic-renam
#set-window-option -g xterm-keys on
set-option -g set-titles on
# Shift arrow to switch windows S shift M alt C ctrl
unbind-key -n S-Left
unbind-key -n S-Right
#bind -n C-Left previous-window
#bind -n C-Right next-window
bind -n F2 new-window
bind -n F3 previous-window
bind -n F4 next-window
bind -n F7 copy-mode
# kill window (prefix Ctrl+q)
#bind ^q killw
# display
#set -g status-utf8 on
set -g status-keys vi
set -g status-interval 1
set -g status-attr bright
set -g status-fg white
set -g status-bg black
set -g status-left-length 20
set -g status-left '#[fg=green][#[fg=red]#S#[fg=green]]#[default]'
set -g status-justify centre
set -g status-right '#[fg=green][ %m/%d %H:%M:%S ]#[default]'
setw -g window-status-current-format '#[fg=yellow](#I.#P#F#W)#[default]'
setw -g window-status-format '#I#F#W'
近期评论