toolkit / .tmux.conf
k4d3's picture
config changes for zsh and tmux
6ec5189
raw
history blame
1.6 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 focus events in tmux
# This setting allows tmux to detect when the terminal window gains or loses focus.
# It can be useful for triggering specific actions or updating the status line
# based on the focus state of the terminal.
set -g focus-events on
# 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
# 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'