33 lines
1.0 KiB
Bash
33 lines
1.0 KiB
Bash
# bind tmux cmds to ctrl+a
|
|
unbind C-b
|
|
set -g prefix C-s
|
|
bind-key b setw synchronize-panes
|
|
|
|
# activity monitoring
|
|
setw -g monitor-activity on
|
|
set -g visual-activity on
|
|
|
|
# set window and pane index to 1 (0 by default)
|
|
set-option -g base-index 1
|
|
setw -g pane-base-index 1
|
|
|
|
#set-window-option -g window-status-current-bg yellow
|
|
#set -ga terminal-overrides ",xterm-termite:Tc"
|
|
set -g default-terminal "screen-256color"
|
|
set -g mouse on
|
|
set -g history-limit 30000
|
|
bind -T root WheelUpPane if-shell -F -t = "#{alternate_on}" "send-keys -M" "select-pane -t =; copy-mode -e; send-keys -M"
|
|
bind -T root WheelDownPane if-shell -F -t = "#{alternate_on}" "send-keys -M" "select-pane -t =; send-keys -M"
|
|
|
|
set -g status-position bottom
|
|
set -g status-bg black
|
|
set -g status-fg white
|
|
set -g window-status-current-bg black
|
|
set -g window-status-current-fg colour46
|
|
set -g window-status-current-attr bold
|
|
set -g status-interval 60
|
|
set -g status-left ' ★ '
|
|
set -g status-right-length 30
|
|
set -g status-right-attr bright
|
|
set -g status-right '%a %b %0d'
|