1
0
Fork 0
vdotfiles/tmux.conf

53 lines
2.5 KiB
Text
Raw Normal View History

bind r source-file /home/von/.tmux.conf\; display-message "Config reloaded."
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind < resize-pane -L 1
bind > resize-pane -R 1
bind - resize-pane -D 1
bind + resize-pane -U 1
bind m set-option -g mode-mouse on\; set-option -g mouse-select-pane on\; set-option -g mouse-select-window on\; set-option -g mouse-resize-pane on\; display-message "mouse mode ON"
bind M set-option -g mode-mouse off\; set-option -g mouse-select-pane off\; set-option -g mouse-select-window off\; set-option -g mouse-resize-pane off\; display-message "mouse mode OFF"
bind -n C-a display-message "Powered by tmux!"
bind -n M-w select-window -n
bind -n M-q select-window -p
bind -n S-Pageup copy-mode -u
set -g base-index 1
set -g history-limit 10000
set -g set-titles on
set -g set-titles-string "#T"
set -g status-left-length 20
set -g status-right-length 40
set -g monitor-activity on
set-window-option -g window-status-format ' #I:#W '
# Fancy & solarized
set -g pane-active-border-fg white
set -g pane-border-fg brightgreen
set -g status-bg black
set -g status-fg green
set -g status-attr bright
set -g status-left '#[bg=brightcyan,fg=brightwhite] #H #[bg=brightyellow,fg=brightcyan]#[fg=brightwhite] #S #[bg=black,fg=brightyellow]#[default]'
set -g status-right '#[fg=brightyellow]#[bg=brightyellow,fg=brightwhite] #(cat /proc/loadavg|cut -d" " -f1,2,3) #[fg=brightcyan]#[bg=brightcyan,fg=brightwhite] %a %e %k:%M #[default]'
set-window-option -g window-status-current-format '#[bg=brightblack,fg=brightcyan] #I:#W #[default]'
set-window-option -g window-status-bell-bg black
set-window-option -g window-status-bell-fg white
set-window-option -g window-status-bell-attr bright
set-window-option -g window-status-activity-bg black
set-window-option -g window-status-activity-fg blue
set-window-option -g window-status-activity-attr bright
# 256-colours
#set -g pane-active-border-fg colour112
#set -g pane-border-fg colour195
#set -g status-bg colour233
#set -g status-fg colour195
#set -g status-left '[ #[fg=colour112]#H#[default]:#S ]['
#set -g status-right '][ #[fg=colour227]#(cat /proc/loadavg|cut -d" " -f1,2,3)#[default] ][ #[fg=colour112]%a %e %k:%M#[default] ]'
#set-window-option -g window-status-current-format '#[bg=colour25,fg=colour195] #I.#W #[default]'
#set-window-option -g window-status-bell-bg colour196
#set-window-option -g window-status-bell-fg colour233
#set-window-option -g window-status-activity-bg colour111
#set-window-option -g window-status-activity-fg colour233