dotfiles/tmux/tmux.conf

41 lines
1.0 KiB
Bash

# Change leader to Ctrl-a
set -g prefix ^A
# Enable mouse support
set -g mouse on
# Ensure set-clipboard is on
set -g set-clipboard on
# Number windows starting with 1, renumber them as they reorder
set -g base-index 1
set -g renumber-windows on
# Move status bar to the top
set -g status-position top
# Catppuccin options
set -g @catppuccin_window_status_style 'rounded'
# Fetch tmux plugin manager and plugins
set -g @plugin 'catppuccin/tmux'
run ~/.config/tmux/plugins/catppuccin/tmux/catppuccin.tmux
# Beautify the status line
set -g status-left-length 100
set -g status-left "#{E:@catppuccin_status_session}"
set -g status-right-length 100
set -g status-right "#{E:@catppuccin_status_application}"
set -agF status-right "#{E:@catppuccin_status_cpu}"
set -agF status-right "#{@catppuccin_status_gitmux}"
# Then boot up TPM
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'tmux-plugins/tmux-cpu'
set -g @plugin 'tmux-pluginx/tmux-battery'
set -g @plugin 'tmux-plugins/tmux-sensible'
run '~/.config/tmux/plugins/tpm/tpm'