.dotfiles/tmux/.tmux.conf
2025-06-18 22:12:16 +03:00

41 lines
1,017 B
Bash

# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'omerxx/tmux-sessionx'
set -g @catppuccin_flavor 'frappe'
run ~/.tmux/plugins/catppuccin/tmux/catppuccin.tmux
run '~/.tmux/plugins/tpm/tpm'
# set window count from 1
set -g base-index 1
setw -g pane-base-index 1
# remap prefix from 'C-b' to 'C-a'
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# tmux sessionx - turn on tmuxinator mode
set -g @sessionx-tmuxinator-mode 'on'
set -g @sessionx-zoxide-mode 'on'
# enable mouse
set -g mouse on
# set vi copy mode
setw -g mode-keys vi
# Catppuccin theme
# Make the status line more pleasant.
set -g status-left ""
set -g status-right '#[fg=#{@thm_crust},bg=#{@thm_teal}] session: #S '
# Ensure that everything on the right side of the status line
# is included.
set -g status-right-length 100
set-option -g default-terminal "tmux-256color"
set-option -a terminal-features "xterm-256color:RGB"