dotfiles/.tmux.conf

56 lines
1.9 KiB
Plaintext
Raw Normal View History

# Shell settings
#--------------------------------------------------------------
set-option -g history-limit 5000
#set -g default-shell /bin/bash
#set -g default-command /bin/zsh
new-session -A -s $USER
#new-session -n $HOST
# Keybindings
#--------------------------------------------------------------
unbind C-b
set -g prefix C-a
setw -g mode-keys vi
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
set -g base-index 1
# window titles
set -g window-status-format ' #I '
set -g window-status-current-format ' #I '
set-option -g window-status-style 'bg=colour237,fg=colour250'
set-option -g window-status-current-style 'bg=colour233,fg=colour250'
# pane border
set-option -g pane-border-style 'fg=colour236,bg=colour236'
set-option -g pane-active-border-style 'fg=colour245,bg=colour236'
# message text
set-option -g message-style 'fg=red'
# clock
set-window-option -g clock-mode-colour colour250
set-option -g status-style 'fg=colour252,bg=colour235'
set-option -g status-interval 1
set-option -g status-justify left
set-option -g status-position top
set-option -g status-left "#[default]"
set-option -g status-right "#[default]"
# auto window rename
set-window-option -g automatic-rename
# color
set -g default-terminal "screen-256color"
#set-option -g status-right "#[fg=colour253 bg=colour238] %a, %d %m | %H:%M:%S "
#set -g status-right "#[fg=colour240,bg=colour238,nobold,nounderscore,noitalics] #[fg=colour247,bg=colour240] #(cat /sys/class/power_supply/BAT0/capacity)% | #(loadavgc) | #(memstatc) #[fg=colour244,bg=colour240]#[fg=colour238,bg=colour244] %Y-%m-%d | %H:%M "
#setw -g window-status-format "#[fg=colour248,bg=colour238] #I #W "
#setw -g window-status-current-format "#[fg=colour238,bg=colour240,nobold,nounderscore,noitalics]#[fg=colour252,bg=colour240]| #I #W |#[fg=colour240,bg=colour238,nobold,nounderscore,noitalics]"