35 lines
964 B
Bash
35 lines
964 B
Bash
set -g default-terminal "tmux-256color"
|
|
set-option -g status-position top
|
|
#keybinds
|
|
unbind r
|
|
bind r source-file ~/.tmux.conf \; display "reloaded-config"
|
|
unbind C-b
|
|
set -g prefix C-w
|
|
#preferences
|
|
set -g mouse on
|
|
set-option -g status-position top
|
|
set -g base-index 1
|
|
set -g pane-base-index 1
|
|
set -g repeat-time 1000
|
|
set -g history-limit 10000
|
|
#window status
|
|
set -g window-status-format " #I "
|
|
set -g window-status-current-format " #I "
|
|
set -g window-status-bell-style "bg=red,nobold"
|
|
set -g window-status-current-style \
|
|
"#{?window_zoomed_flag,bg=yellow,bg=magenta,nobold}"
|
|
#pane separators
|
|
set -g pane-border-lines simple
|
|
# vim keybinds for navigation
|
|
bind-key h select-pane -L
|
|
bind-key j select-pane -D
|
|
bind-key k select-pane -U
|
|
bind-key l select-pane -R
|
|
#plugins
|
|
set -g @plugin 'tmux-plugins/tpm'
|
|
set -g @plugin 'tmux-plugins/tmux-sensible'
|
|
#catpuccin theme
|
|
run ~/.config/tmux/plugins/catppuccin/tmux/catppuccin.tmux
|
|
run '~/.tmux/plugins/tpm/tpm'
|
|
|