dotfiles/tmux/.tmux.conf
2017-07-04 20:16:36 +02:00

42 lines
1.2 KiB
Bash

# split panes using | and -
bind | split-window -h
bind - split-window -v
unbind '"'
unbind %
# reload config file (change file location to your the tmux.conf you want to use)
bind r source-file ~/.tmux.conf
## Status bar design
set -g status-position bottom
set -g status-bg colour239
set -g status-attr dim
set -g status-right '#[fg=colour233,bg=colour102,bold] %d/%m #[fg=colour233,bg=colour102,bold] %H:%M:%S '
set -g status-right-length 50
set -g status-left-length 20
# Current session name
set-window-option -g status-left '#[fg=colour0,bg=colour102,bold] #S '
# Current window
setw -g window-status-current-fg colour0
setw -g window-status-current-bg colour102
setw -g window-status-current-attr bold
setw -g window-status-current-format ' #I#[fg=colour0] #[fg=colour0]#W '
# Background windows
setw -g window-status-fg colour0
setw -g window-status-bg colour240
setw -g window-status-attr none
setw -g window-status-format ' #I#[fg=colour0] #[fg=colour0]#W '
# Scrollback history
set -g mouse on
# Terminal colors
set -g default-terminal "xterm-256color"
set-option -ga terminal-overrides ",xterm-256color:Tc"
set-option -ga update-environment "DISPLAY SSH_ASKPASS SSH_AGENT_PID \
SSH_CONNECTION WINDOWID XAUTHORITY"