2020-05-08 02:22:49 +02:00
|
|
|
# tmux settings _________________
|
|
|
|
|
|
|
|
set -g prefix C-Space
|
|
|
|
set -g base-index 1
|
|
|
|
|
|
|
|
set -g default-terminal "screen-256color"
|
|
|
|
|
|
|
|
setw -g monitor-activity on
|
|
|
|
|
|
|
|
set -g status-keys vi
|
|
|
|
setw -g mode-keys vi
|
|
|
|
set -g history-limit 10000
|
|
|
|
|
|
|
|
bind r source-file ~/.tmux.conf # reload tmux conf
|
2020-05-07 14:31:57 +02:00
|
|
|
|
2020-05-07 16:11:54 +02:00
|
|
|
# vim-style bindings ____________
|
2020-05-07 14:31:57 +02:00
|
|
|
|
2020-05-07 16:11:54 +02:00
|
|
|
# split
|
|
|
|
unbind v
|
2020-05-07 14:31:57 +02:00
|
|
|
unbind s
|
|
|
|
unbind % # vsplit
|
|
|
|
unbind '"' # hsplit
|
|
|
|
bind v split-window -h -c "#{pane_current_path}"
|
|
|
|
bind s split-window -v -c "#{pane_current_path}"
|
2020-05-07 16:11:54 +02:00
|
|
|
|
|
|
|
# split navigate
|
|
|
|
bind -r h select-pane -L
|
|
|
|
bind -r j select-pane -D
|
|
|
|
bind -r k select-pane -U
|
|
|
|
bind -r l select-pane -R
|
|
|
|
|
|
|
|
# split resize
|
2020-05-08 02:22:49 +02:00
|
|
|
bind -r H resize-pane -L 4
|
|
|
|
bind -r J resize-pane -D 4
|
|
|
|
bind -r K resize-pane -U 4
|
|
|
|
bind -r L resize-pane -R 4
|
2020-05-07 16:11:54 +02:00
|
|
|
|
|
|
|
# theme ________________________
|
|
|
|
|
|
|
|
# status bar
|
2020-05-08 02:22:49 +02:00
|
|
|
set -g status-style fg=default,bg=black
|
|
|
|
setw -g window-status-style fg=default,bg=black
|
|
|
|
setw -g window-status-current-style fg=black,bg=white
|
|
|
|
set -g pane-border-style fg=#222222
|
|
|
|
set -g pane-active-border-style fg=#222222
|
|
|
|
set -g message-style fg=brightred,bg=black
|
|
|
|
set -g display-panes-active-colour blue
|
|
|
|
set -g display-panes-colour brightred
|