dotfiles/.tmux.conf

43 lines
1.1 KiB
Plaintext

# prefix
set-option -g prefix C-a
unbind-key C-a
bind-key C-a send-prefix
# alt select pane
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
# shift arrow to switch windows
bind -n S-Left previous-window
bind -n S-Right next-window
# window split keys
bind-key v split-window -h
bind-key h split-window -v
# config reload
bind-key r source-file ~/.tmux.conf \; display-message "tmux.conf reloaded"
# general
set -g default-terminal "screen-256color"
set -g history-limit 10000
set -g mouse on
set-window-option -g mode-keys vi
# status
set-option -g status-left ' #S '
set-window-option -g window-status-current-format ' #I #W '
set-window-option -g window-status-format ' #I #W '
setw -g status-bg colour234
setw -g status-fg colour7
setw -g window-status-current-style "fg=colour7,bg=colour4"
setw -g window-status-style "fg=colour244,bg=colour236"
setw -g status-right-style "fg=colour251,bg=colour236"
setw -g status-left-style "fg=colour7,bg=colour88"
setw -g pane-border-style "fg=colour236,bg=colour233"
setw -g pane-active-border-style "fg=colour4,bg=colour233"