56 lines
2.9 KiB
Bash
56 lines
2.9 KiB
Bash
#tmux config
|
|
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 '
|
|
|
|
# Molokai (256 colour)
|
|
#set -g pane-active-border-fg white
|
|
#set -g pane-active-border-fg brightgreen
|
|
#set -g status-bg colour233
|
|
#set -g status-fg colour59
|
|
#set -g status-left '[ #[fg=colour118]#h#[default]:#[fg=colour252]#S#[default] ]['
|
|
#set -g status-right '#[default]][ #[fg=colour144]#(cat /proc/loadavg|cut -d" " -f1,2,3)#[default] ][ #[fg=colour208]%a %e %k:%M#[default] ]'
|
|
#set-window-option -g window-status-current-format ' #[default]#I.#[fg=colour252]#W#[default] '
|
|
#set-window-option -g window-status-bell-bg colour233
|
|
#set-window-option -g window-status-bell-fg colour161
|
|
#set-window-option -g window-status-activity-bg colour233
|
|
#set-window-option -g window-status-activity-fg colour59
|
|
|
|
# Fancy & solarized (compatible)
|
|
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 '[ #[fg=white]#h#[default]:#[fg=brightblue]#S#[default] ]['
|
|
set -g status-right '] #[fg=brightblue]#(cat /proc/loadavg|cut -d" " -f1,2,3)#[default] ][ #[fg=brightwhite]%a %e %k:%M#[default] ]'
|
|
set-window-option -g window-status-current-format ' #[fg=brightwhite]#I.#W#[default] '
|
|
#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
|