Files
provision/config/tmux.conf
T
2025-11-23 09:07:39 -08:00

39 lines
823 B
Bash

# Tmux configuration
# Based on: https://www.youtube.com/watch?v=B-1wGwvUwm8
# Remap prefix from 'C-b' to 'C-a'
unbind C-b
set -g prefix C-a
bind C-a send-prefix
# Reload config
unbind r
bind r source-file ~/.config/tmux/tmux.conf \; display "Reloaded!"
# Split panes
unbind h
bind h split-window -v
unbind v
bind v split-window -h
# Enable mouse mode (optional)
# set -g mouse on
# Start windows and panes at 1, not 0
set -g base-index 1
setw -g pane-base-index 1
# TPM plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
# Dracula theme
set -g @plugin 'dracula/tmux'
set -g @dracula-show-powerline true
set -g @dracula-show-left-icon session
set -g @dracula-plugins "cpu-usage ram-usage"
# Initialize TPM (keep this line at the very bottom)
run '~/.config/tmux/plugins/tpm/tpm'