1
0
Fork 0
vdotfiles/tmux.conf

54 lines
2.6 KiB
Text
Raw Normal View History

2014-09-23 11:28:09 +03:00
#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
2014-09-23 11:28:09 +03:00
set-window-option -g window-status-format ' #I.#W '
2014-09-23 11:28:09 +03:00
# Molokai (256 colour)
set -g pane-active-border-fg white
2014-09-23 11:28:09 +03:00
set -g pane-active-border-fg brightgreen
set -g status-bg colour233
set -g status-fg colour59
2014-09-23 12:00:01 +03:00
set -g status-left '[ #[fg=colour118]#h#[default]:#[fg=colour252]#S#[default] ]['
2014-09-23 11:28:09 +03:00
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 ' #[fg=colour252]#I.#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
2014-09-23 11:28:09 +03:00
# 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 '#[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