43 lines
1.2 KiB
Bash
43 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
|
|
|
|
# Panes
|
|
set -g pane-border-fg black
|
|
set -g pane-active-border-fg blue
|
|
|
|
## Status bar design
|
|
set -g status-position bottom
|
|
set -g status-bg colour24
|
|
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 colour10
|
|
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 update-environment ' DISPLAY SSH_ASKPASS SSH_AUTH_SOCK SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY'
|