32 lines
763 B
Bash
32 lines
763 B
Bash
set -g default-terminal "tmux-256color"
|
|
set -g terminal-overrides ",alacritty:RGB"
|
|
|
|
#some vi behaviour
|
|
bind-key -r h select-pane -L
|
|
bind-key -r j select-pane -D
|
|
bind-key -r k select-pane -U
|
|
bind-key -r l select-pane -R
|
|
|
|
bind-key v split-window -h
|
|
bind-key s split-window -v
|
|
|
|
# in order to make escape bindings of programs in tmux work
|
|
set -s escape-time 5
|
|
|
|
# enable mouse
|
|
set-option -g mouse on
|
|
|
|
# start pane index at 1
|
|
set -g base-index 1
|
|
setw -g pane-base-index 1
|
|
|
|
# reload bind
|
|
bind-key r source-file ~/.tmux.conf
|
|
|
|
set-window-option -g window-status-current-format "[#I:#W]"
|
|
set-window-option -g window-status-format "#I:#W"
|
|
set-window-option -g window-status-current-style fg="#586e75",bg="#fdf6e3",bold
|
|
|
|
set -g status-bg "#fdf6e3"
|
|
set -g status-fg "#586e75"
|