69 lines
No EOL
1.9 KiB
Bash
69 lines
No EOL
1.9 KiB
Bash
#######################
|
|
### KEYBIND CHANGES ###
|
|
#######################
|
|
# remap prefix from 'C-b' to 'C-Space
|
|
unbind C-b
|
|
set-option -g prefix C-Space
|
|
bind-key C-Space send-prefix
|
|
|
|
# switch panes using CTRL+Arrows without prefix
|
|
bind -n C-Left select-pane -L \; display-pane
|
|
bind -n C-Right select-pane -R \; display-pane
|
|
bind -n C-Up select-pane -U \; display-pane
|
|
bind -n C-Down select-pane -D \; display-pane
|
|
|
|
# Switch windows
|
|
bind -n C-F1 select-window -t 0
|
|
bind -n C-F2 select-window -t 1
|
|
bind -n C-F3 select-window -t 2
|
|
bind -n C-F4 select-window -t 3
|
|
|
|
# reload config file (change file location to your the tmux.conf you want to use)
|
|
bind r source-file ~/.tmux.conf
|
|
|
|
|
|
|
|
######################
|
|
### DESIGN CHANGES ###
|
|
######################
|
|
|
|
# loud or quiet?
|
|
#set -g visual-activity off
|
|
#set -g visual-bell off
|
|
#set -g visual-silence off
|
|
#setw -g monitor-activity off
|
|
#set -g bell-action none
|
|
|
|
## modes ##
|
|
setw -g clock-mode-colour colour5
|
|
setw -g mode-style 'fg=colour1 bg=colour16 bold'
|
|
|
|
## panes ##
|
|
set -g pane-border-style 'fg=colour19 bg=colour0'
|
|
set -g pane-active-border-style 'bg=colour0 fg=colour9'
|
|
|
|
## statusbar ##
|
|
set -g status-position bottom
|
|
set -g status-justify left
|
|
set -g status-style 'bg=colour5 fg=colour5 dim'
|
|
set -g status-left ''
|
|
set -g status-right '#[fg=colour233,bg=colour7] %F (%A) #[fg=colour233,bg=colour8 bold] %H:%M:%S '
|
|
set -g status-right-length 50
|
|
set -g status-left-length 20
|
|
|
|
## tabs ##
|
|
setw -g window-status-current-style 'fg=colour1 bg=colour56 bold'
|
|
setw -g window-status-current-format ' #I#[fg=colour249]:#[fg=colour255]#W#[fg=colour249]#F '
|
|
|
|
setw -g window-status-style 'fg=colour9 bg=colour92'
|
|
setw -g window-status-format ' #I#[fg=colour237]:#[fg=colour250]#W#[fg=colour244]#F '
|
|
|
|
## bell ##
|
|
setw -g window-status-bell-style 'fg=colour255 bg=colour1 bold'
|
|
|
|
## messages ##
|
|
set -g message-style 'fg=colour10 bg=colour16 bold'
|
|
|
|
|
|
## Set mouse on ##
|
|
set -g mouse on |