79 lines
2.5 KiB
Bash
79 lines
2.5 KiB
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
|
|
|
|
# colors
|
|
BG1="#f9f5d7"
|
|
BG2="#a89984"
|
|
BG3="#ebdbb2"
|
|
FG1="#f9f5d7"
|
|
|
|
set-option -g status "on"
|
|
|
|
# default statusbar colors
|
|
set-option -g status-style fg=$FG1,bg=$BG1 #fg1
|
|
|
|
# default window title colors
|
|
set-window-option -g window-status-style fg=$BG3,bg=$BG1 #bg1
|
|
set-window-option -g window-status-activity-style fg=colour248,bg=$BG2 #fg3
|
|
|
|
# active window title colors
|
|
set-window-option -g window-status-current-style fg=$BG1,bg=$BG2 #bg1
|
|
|
|
# pane border
|
|
set-option -g pane-active-border-style fg=$BG3
|
|
set-option -g pane-border-style fg=$BG3
|
|
|
|
# message infos
|
|
set-option -g message-style fg=$BG2,bg=$BG1 #fg1
|
|
|
|
# commands
|
|
set-option -g message-command-style fg=$FG1,bg=$BG1 #bg1
|
|
|
|
# pane number display
|
|
set-option -g display-panes-active-colour colour250 #fg2
|
|
set-option -g display-panes-colour colour237 #bg1
|
|
|
|
# clock
|
|
set-window-option -g clock-mode-colour colour24 #blue
|
|
|
|
# bell
|
|
set-window-option -g window-status-bell-style fg=colour229,bg=colour88 #bg, red
|
|
|
|
set-option -g status-style "none"
|
|
set-option -g status-justify "left"
|
|
set-option -g status-left-style "none"
|
|
set-option -g status-left-length "80"
|
|
set-option -g status-right-style "none"
|
|
set-option -g status-right-length "80"
|
|
set-window-option -g window-status-activity-style "none"
|
|
set-window-option -g window-status-style "none"
|
|
set-window-option -g window-status-separator ""
|
|
|
|
set-option -g status-left "#[fg=$FG1, bg=$BG2] #S #[fg=$BG2, bg=$BG1, nobold, noitalics, nounderscore]"
|
|
set-option -g status-right "#[fg=$BG3, bg=$BG1, nobold, nounderscore, noitalics]#[fg=$BG2,bg=$BG3] %Y-%m-%d %H:%M #[fg=$BG2, bg=$BG3, nobold, noitalics, nounderscore]#[fg=$FG1, bg=$BG2] #h "
|
|
|
|
set-window-option -g window-status-current-format "#[fg=$BG3, bg=$BG1, :nobold, noitalics, nounderscore]#[fg=$BG1, bg=$BG2] #I #[fg=$BG1, bg=$BG2, bold] #W #[fg=$BG2, bg=$BG1, nobold, noitalics, nounderscore]"
|
|
set-window-option -g window-status-format "#[fg=$BG1,bg=$BG3,noitalics]#[fg=$BG2,bg=$BG3] #I #[fg=$BG2, bg=$BG3] #W #[fg=$BG3, bg=$BG1, noitalics]"
|