Files
dotfiles/.tmux.conf
2026-03-10 13:07:40 -04:00

47 lines
1.1 KiB
Bash

set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @plugin 'catppuccin/tmux#v2.1.3'
set -g @plugin 'tmux-plugins/tpm'
set -g @continuum-restore 'on'
set -g @resurrect-processes 'lazygit yazi'
# Remap prefix from Ctrl+b to Ctrl+Space
unbind C-b
set -g prefix C-Space
bind C-Space send-prefix
set -g mouse on
set -g base-index 1
set -g pane-base-index 1
# Faster escape sequences (better for Vim/Neovim)
set -s escape-time 10
# Increase scrollback buffer size
set -g history-limit 50000
# True color settings
set -g default-terminal "tmux-256color"
set -ag terminal-overrides ",xterm-256color:RGB"
set -g status-interval 10
set -g allow-passthrough on
set -ga update-environment TERM
set -ga update-environment TERM_PROGRAM
set -ga update-environment SSH_CONNECTION
set -g @catppuccin_window_text " #W"
set -g @catppuccin_window_default_text " #W"
set -g @catppuccin_window_current_text " #W"
run ~/.tmux/plugins/tmux/catppuccin.tmux
set -g status-justify "left"
set -g status-left " "
set -gF status-right "#[fg=#{@thm_crust},bg=#{@thm_teal}] ##H "
run '~/.tmux/plugins/tpm/tpm'