Files
dotfiles/.tmux.conf
T
2026-04-07 09:13:37 -04:00

61 lines
1.4 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 @plugin 'omerxx/tmux-sessionx'
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
unbind r
bind r source-file ~/.tmux.conf
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
# Allow extended keys (Kitty protocol passthrough)
set -g extended-keys on
set -ga terminal-features "*:extkeys"
# 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 -g set-clipboard 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 "
# Remap prefix from Ctrl+b to Ctrl+Space
unbind C-b
set -g prefix C-Space
bind C-Space send-prefix
run '~/.tmux/plugins/tpm/tpm'