toolkit / .tmux.conf
k4d3's picture
Initial commit
f1a2ec8
raw
history blame
1.44 kB
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @plugin 'sainnhe/tmux-fzf'
set -g @plugin 'catppuccin/tmux'
# Enable clipboard integration
set -g set-clipboard on
# Enable tmux-continuum and set it to boot on start
set -g @continuum-boot 'on'
# Set the strategy for tmux-resurrect to use nvim sessions
set -g @resurrect-strategy-nvim 'session'
# Disable the bell action
set-option -g bell-action none
# Set the default shell to zsh without global rc files
set-option -g default-command "zsh --no-globalrcs"
# Enable setting terminal titles
set -g set-titles on
# Set the format for terminal titles
set -g set-titles-string '#T #{pane_current_command}'
# Set the window size to the smallest
set -g window-size smallest
# Enable aggressive resize for windows
setw -g aggressive-resize on
# Enable mouse support
set -g mouse on
# Set the default terminal type to tmux-256color
set -g default-terminal "tmux-256color"
# Append terminal overrides for xterm-256color
set-option -ga terminal-overrides ",xterm-256color:Tc"
# Bind 'r' to reload the tmux config and display a message
bind r source-file ~/.tmux.conf \; display "Config reloaded!"
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'