# Enable mouse
setw -g mouse on

# Don't launch shell as login
set -g default-command "${SHELL}"

# Enable 256 color mode and TrueColor
set -g default-terminal "tmux-256color"
set -ag terminal-overrides ",xterm-256color:RGB"

# Get rid of nvim escape delay
set -s escape-time 0

# Enable vim mode in visual
setw -g mode-keys vi

# enable activity alerts
setw -g monitor-activity on
set -g visual-activity on

# Start with window 1 (instead of 0)
set -g base-index 1

# Start with pane 1
setw -g pane-base-index 1

# Disable "Activity in window N" message
set -g visual-activity off
set -g monitor-activity off

# number windows with respect for base-index
set -g renumber-windows off

# Resize all windows to min size
setw -g aggressive-resize off
setw -g window-size smallest

# Change history limit
set -g history-limit 262144

# Source extra configs
source-file ~/.config/tmux/theme.conf
source-file ~/.config/tmux/keybinds.conf
source-file ~/.config/tmux/plugins.conf
source-file ~/.config/tmux/vim.conf
