1
0
Fork 0
dotfiles/.config/tmux/tmux.conf
2026-01-30 17:57:53 +03:00

52 lines
1.2 KiB
Bash

# 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"
set -g default-terminal 'tmux-256color'
set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm'
set -as terminal-features ',*:usstyle'
set -as terminal-features ',xterm*:RGB'
set -as terminal-features ',alacritty*: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 on
setw -g window-size latest
# 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/keybinds-ru.conf
source-file ~/.config/tmux/plugins.conf
source-file ~/.config/tmux/vim.conf