Skip to content
Snippets Groups Projects
Commit 1cc6d457 authored by jkerdreu's avatar jkerdreu
Browse files

-Fix tmux

-split run & test



git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/branches/0.7@2868 b32b6428-25c9-4566-ad07-03861ab6144f
parent 9d2fdf4a
No related branches found
No related tags found
No related merge requests found
......@@ -5,4 +5,3 @@ NAME=xaal-debian
docker build -t ${NAME}:${VER} .
docker run -it --rm ${NAME}:${VER}
docker rmi ${NAME}
#!/bin/sh
VER=latest
NAME=xaal-debian
docker build -t ${NAME}:${VER} .
docker run -it --rm ${NAME}:${VER}
docker rmi ${NAME}
......@@ -4,16 +4,12 @@ set -g default-terminal "screen-256color"
set -s escape-time 10
set -g set-titles on
# Windows & Panes
# windows numbers start at 1
set -g base-index 1
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
......@@ -26,23 +22,25 @@ setw -g mode-style bg=colour39,fg=white,bold
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-style bg=colour236
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}')"
#set -g status-right "#[fg=colour67]#(cat /proc/loadavg|cut -d' ' -f 1) #[fg=white,bg=colour241] #(whoami) #[fg=colour233,bold,bg=colour245] #(hostname) "
set -g status-right "#[fg=colour67]#(cat /proc/loadavg|cut -d' ' -f 1) #[fg=white,bg=colour241] #(whoami) #[fg=colour233,bold,bg=colour245] #(ip addr show dev eth0 | grep "inet[^6]" | 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-style fg=colour39,bg=colour236,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
setw -g monitor-activity on
set -g bell-action none
set -g visual-bell off
set -g visual-silence off
......@@ -54,27 +52,21 @@ set -g pane-active-border-style fg=colour39
# Mouse
#-------
#set -g mouse on
bind-key m set-option -g mouse off \; display 'Mouse: OFF'
bind-key M set-option -g mouse on \; display 'Mouse: ON'
#-----------------
# pane navigation
#-----------------
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
bind -r C-b select-pane -t :.+ # select next pane
#-------------------
# window navigation
#-------------------
unbind n
unbind p
bind -r C-p previous-window # select previous window
bind -r C-n next-window # select next window
bind Tab choose-window # move to last active window
bind -r k kill-pane
bind -r r source ~/.tmux.conf \; display 'Loaded config file'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment