### keybindings # C-b is not acceptable -- Vim uses it set-option -g prefix C-a bind-key C-a last-window # Start numbering at 1 set -g base-index 1 # Allows for faster key repetition set -s escape-time 0 # Rather than constraining window size to the maximum size of any client # connected to the *session*, constrain window size to the maximum size of any # client connected to *that window*. Much more reasonable. setw -g aggressive-resize on # Allows us to use C-a a to send commands to a TMUX session inside # another TMUX session bind-key a send-prefix # Activity monitoring setw -g monitor-activity on set -g visual-activity on # Vi copypaste mode set-window-option -g mode-keys vi # set to main-horizontal, 60% height for main pane bind m set-window-option main-pane-height 60\; select-layout main-horizontal bind-key C command-prompt -p "Name of new window: " "new-window -n '%%'" # reload config bind r source-file ~/.tmux.conf \; display-message "Config reloaded..." # set window split bind-key v split-window -h bind-key b split-window # auto window rename set-window-option -g automatic-rename #################################### # new theme set-window-option -g status-style bg=colour236,fg=white ################################### # old theme # ### colors # set -g default-terminal "tmux-256color" # set -ag terminal-overrides ",xterm-256color:RGB" # # set-option -g status-style bg=colour235,fg=colour136 # # # default window title colors # set-window-option -g window-status-style fg=colour39,bg=default,dim # # # active window title colors # set-window-option -g window-status-current-style fg=colour235,bg=colour113,bright # # # pane border # set-option -g pane-border-style fg=colour235 #base02 # set-option -g pane-active-border-style fg=colour240 #base01 # # # message text # set-option -g message-style bg=colour235 #base02 # set-option -g message-style fg=colour166 #orange # # # pane number display # set-option -g display-panes-active-colour colour33 #blue # set-option -g display-panes-colour colour166 #orange # # clock # set-window-option -g clock-mode-colour green #green # # # ### status # # status bar # #set-option -g status-utf8 on # set -g status-interval 10 # set -g status-justify left # center align window list # set -g status-left-length 14 # set -g status-right-length 140 # #set -g status-left '#[default]〘 ' # set -g status-left '#[fg=green,bright]#(uname -r | cut -c 1-8)#[default]〘' # set -g status-right "〙🔋 #(upower -i /org/freedesktop/UPower/devices/battery_BAT1 | grep time | awk '{print $4, $5}' | sed 's/hours/h/; s/minutes/m/; s/,/\./') #[fg=red,bg=default]⇑#(uptime -p |sed 's/\ week/w/; s/\ days/d/; s/\ day/d/; s/\ hours/h/; s/\ minutes/m/; s/\ minute/m/; s/,//g; s/up//') #[fg=green,bg=default]⎋ #(cat /proc/loadavg | awk '{print $1,$2,$3}') #[fg=blue]⌚ %Y-%m-%d #[fg=white,bg=default]⌚ %H:%M #[fg=green]⚼ #H" #