# Used for reloading config set -g default-terminal screen-256color unbind C-b set-option -g prefix C-a ### Keybinds # prefix bind-key C-a send-prefix # pane splitting bind | split-window -h bind - split-window -v unbind '"' unbind % # reload tmux.conf bind r source-file ~/.tmux/source.conf 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 bind R move-window -r set -g mouse off set-option -g allow-rename off set-window-option -g mode-keys vi bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xclip -selection clipboard -i" ### Theming set-option -g visual-activity off set-option -g visual-bell both set-option -g visual-silence off set-window-option -g monitor-activity off set-option -g bell-action any setw -g clock-mode-colour colour5 setw -g mode-style bold,fg=colour1,bg=colour18 # panes set -g pane-border-style bg=colour0,fg=colour54 set -g pane-active-border-style bg=colour0,fg=colour54 # statusbar set -g status-position top set -g status-justify left set -g status-style bg=colour234,fg=colour248,dim set -g status-left '#[fg=colour5,nodim]#h#[fg=colour248,dim] :: ' set -g status-right '#[fg=colour233,bg=colour242,bold] %d/%m #[fg=colour233,bg=colour246,bold] %H:%M:%S ' set -g status-right-length 50 set -g status-left-length 20 setw -g window-status-current-style fg=colour239,bg=colour243,bold setw -g window-status-current-format ' #I:#[fg=colour255]#W#[fg=colour237]#F ' setw -g window-status-style fg=colour248,bg=colour236,none setw -g window-status-format ' #I#[fg=colour242]:#[fg=colour250]#W#[fg=colour243]#F ' setw -g window-status-bell-style bold,fg=colour255,bg=colour1 setw -g window-style fg=colour244 setw -g window-active-style fg=colour7 # messages set -g message-style bold,fg=colour242,bg=colour16 # vim compat set -sg escape-time 10 # plugins set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-sensible'