# Force 256 colors set -g default-terminal "xterm-256color" bind r source-file ~/.tmux.conf \; display-message " Configuration rechargĂ©e" bind c command-prompt -p " Nom de la nouvelle fenĂȘtre :" "new-window -n '%%'" # I'm better off with the defaults #bind | split-window -h #bind - split-window -v #unbind '"' #unbind % ################################################################################ # Movements # Better moves between windows bind -n C-Left select-window -p bind -n C-Right select-window -n # Better moves between panes 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 # Vimify (a little) set-window-option -g mode-keys vi #bind -t vi-copy 'v' begin-selection #bind -t vi-copy 'y' copy-selection # TODO: Need to be able to copy to clipboard ################################################################################ # Global behaviour tuning #set -g monitor-activity on #set -g visual-activity on set -g base-index 1 set -g pane-base-index 1 set -g history-limit 10000 set -g display-time 1000 ################################################################################ # About the status bar set -g status-style fg=black,bg=colour45 set -g status-justify centre setw -g window-status-format '#[bg=colour27] #I #[bg=colour33] #W ' setw -g window-status-current-format '#[bg=colour165] #I #[bg=colour201] #W ' setw -g window-status-activity-style fg=colour124 set -g status-left '#[bg=colour27] #S #[bg=colour33] #h ' set -g status-right '' # Could display date/time :) set -g status-left-length 30 set -g status-right-length 20 ################################################################################ # Some more styling set -g pane-border-style bg=default set -g pane-border-style fg=white set -g pane-active-border-style fg=cyan