Skip to content
Snippets Groups Projects
Commit 9d2fdf4a authored by jkerdreu's avatar jkerdreu
Browse files

Switch to new tmux version.



git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/branches/0.7@2867 b32b6428-25c9-4566-ad07-03861ab6144f
parent 8653d45a
No related branches found
No related tags found
No related merge requests found
set -g default-terminal "screen-256color" # colors!
# General
set -g default-terminal "screen-256color"
set -s escape-time 10
set -g set-titles on
# cssh
bind-key = set-window-option synchronize-panes \; display 'Switching synchronize'
# Windows & Panes
# windows numbers start at 1
set -g base-index 1
# interface
#------------
# pane
#------------
set -g pane-border-status top
set -g pane-border-style fg=blue
set -g pane-active-border-style fg=colour39
set -g renumber-windows on
#setw -g automatic-rename on
#set -g allow-rename off
set -g bell-action none
set -g message-command-style fg=blue,bg=black
set -g message-style bg=colour39,fg=white,bold
setw -g mode-style bg=colour39,fg=white,bold
#------------
# tabs
#------------
setw -g window-status-format "#[fg=white]#[bg=blue]#I #[bg=blue]#[fg=white]#W "
setw -g window-status-current-format "#[bg=red]#[fg=white,bold][#I #[fg=white,bold]#[bg=red]#W]"
#------------
# status bar
#------------
set-option -g status-position bottom
set -g status-fg white
set -g status-bg blue
#set -g status-left ''
set -g status-right-length 60
#set -g status-right ' ☢ #(cat /proc/loadavg|cut -d" " -f 1) | ☪ #(hostname) | %a %m-%d %H:%M'
#set -g status-right ' ☢ #(ip addr show dev eth0|grep inet|cut -d" " -f 6)'
set -g status-right '#(hostname)'
set -g status-left ' xAAL-docker >> '
set -g status-left-length 70
#set -g set-titles-string '#(whoami) :: #h :: #(curl ipecho.net/plain;echo)'
set -g status-justify left
set -g status-interval 10
set -g status-position bottom
set -g status-style bg=black
set -g status-left ""
set -g status-left-length 40
set -g status-right-length 50
set -g status-right "#[fg=colour67]#(cat /proc/loadavg|cut -d' ' -f 1) #[fg=white,bg=colour241] #(whoami) #[fg=colour233,bold,bg=colour245] #(ip a show dev eth0|grep 'inet '|awk '{print $2}')"
setw -g window-status-format ' #W:#I '
setw -g window-status-current-format ' #W:#I '
setw -g window-status-current-style fg=white,bold,bg=colour39
setw -g window-status-style fg=colour39,bg=black,bold
setw -g window-status-bell-style bold,fg=colour255,bg=colour1
setw -g xterm-keys on
# activity
#setw -g monitor-activity on
#set -g visual-activity on
set -g visual-bell off
set -g visual-silence off
set -g pane-border-status top
set -g pane-border-style fg=colour67
set -g pane-active-border-style fg=colour39
#-------
# Mouse
#-------
set -g mouse off
#set -g mouse on
bind-key m set-option -g mouse on \; display 'Mouse: ON'
bind-key M set-option -g mouse off \; display 'Mouse: OFF'
bind-key m set-option -g mouse off \; display 'Mouse: OFF'
bind-key M set-option -g mouse on \; display 'Mouse: ON'
#-----------------
# pane navigation
......@@ -63,13 +78,3 @@ bind Tab choose-window # move to last active window
bind -r k kill-pane
bind -r r source ~/.tmux.conf \; display 'Loaded config file'
# enable activity alerts
# setw -g monitor-activity on
# set -g visual-activity on
set -g status-interval 20
setw -g xterm-keys on
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment