dotfiles/tmux/tmux.conf
2025-06-23 14:38:30 -05:00

49 lines
1.3 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 bottom
# Catppuccin options
set -g @plugin 'catppuccin/tmux'
run ~/.config/tmux/plugins/tmux/catppuccin.tmux
set -g @catppuccin_window_status_style 'rounded'
set -g @catppuccin_window_text " #W"
set -g @catppuccin_window_current_text " #W"
set -g @catppuccin_window_flags "icon"
set -g status-left-length 100
set -g status-left "#{E:@catppuccin_status_session}"
set -g status-justify centre
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}"
# Keybinds
bind-key r source-file ~/.config/tmux/tmux.conf;
bind-key t new-window;
bind-key v split-window -h;
bind-key h split-window -v;
bind-key [ select-window -p
bind-key ] select-window -n
# 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'