46 lines
1.3 KiB
Bash
46 lines
1.3 KiB
Bash
set -g @plugin 'tmux-plugins/tpm'
|
||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||
set -g @plugin 'tmux-plugins/tmux-yank'
|
||
|
||
run '~/.tmux/plugins/tpm/tpm'
|
||
|
||
# Set status line, windows, pane and message colors.
|
||
set -g message-style "bg=#1c1c1c,fg=#9c9c9c"
|
||
set -g pane-active-border-style "bg=#080808,fg=#80a0ff"
|
||
set -g pane-border-style "bg=#080808,fg=#303030"
|
||
set -g status-style "bg=#1c1c1c,fg=#9c9c9c"
|
||
setw -g window-status-activity-style none
|
||
setw -g window-status-current-style "bg=#353946,fg=#80a0ff"
|
||
# Set active and inactive window style.
|
||
setw -g window-status-current-format " #I #[fg=#9c9c9c]❯ #[fg=default]#W #[fg=#e65e72]#{?window_flags,#{window_flags}, }#[fg=default] "
|
||
setw -g window-status-format " #I ❯ #W #[fg=#e65e72]#{?window_flags,#{window_flags}, }#[fg=default] "
|
||
|
||
# Set status bar components and style.
|
||
set -g status-left ""
|
||
set -g status-right ""
|
||
|
||
set-option -a terminal-features 'foot:RGB'
|
||
|
||
set-option -g prefix C-s
|
||
bind-key C-s send-prefix
|
||
|
||
bind -n C-Tab select-window -n
|
||
bind -n C-S-Tab select-window -p
|
||
|
||
# Enable mouse
|
||
set -g mouse on
|
||
|
||
# Vim motion
|
||
set-window-option -g mode-keys vi
|
||
|
||
# Movement binds
|
||
bind-key h select-pane -L
|
||
bind-key j select-pane -D
|
||
bind-key k select-pane -U
|
||
bind-key l select-pane -R
|
||
|
||
# New pane binds
|
||
bind L split-window -h
|
||
bind H split-window -h \; swap-pane -s -
|
||
bind J split-window -v
|
||
bind K split-window -v \; swap-pane -s -
|