nvim/dotfiles/.tmux.conf

41 lines
948 B
Bash

# Terminal settings
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 -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'
# Catppuccin theme
run ~/.config/tmux/plugins/catppuccin/tmux/catppuccin.tmux
run '~/.tmux/plugins/tpm/tpm'