2024-04-02 19:21:33 +00:00
|
|
|
##########################################################
|
|
|
|
## ##
|
|
|
|
## My TMUX Config ##
|
|
|
|
## ##
|
|
|
|
##########################################################
|
|
|
|
|
2024-04-02 19:13:55 +00:00
|
|
|
# Rebind the prefix key
|
|
|
|
unbind C-b
|
2024-04-06 20:46:26 +00:00
|
|
|
set-option -g prefix C-Space
|
2024-04-02 19:13:55 +00:00
|
|
|
|
|
|
|
# Map pane selection to more easy vim like bindings
|
|
|
|
bind-key -n 'M-h' select-pane -L
|
|
|
|
bind-key -n 'M-j' select-pane -D
|
|
|
|
bind-key -n 'M-k' select-pane -U
|
|
|
|
bind-key -n 'M-l' select-pane -R
|
2024-04-02 19:21:33 +00:00
|
|
|
bind h split-window -h
|
|
|
|
bind v split-window -v
|
2024-04-02 19:13:55 +00:00
|
|
|
|
|
|
|
# set Status bar options
|
|
|
|
set-option -g status-position top
|
|
|
|
set-option -g allow-rename off
|
|
|
|
|
|
|
|
set -g @plugin 'tmux-plugins/tpm'
|
2024-05-09 18:11:09 +00:00
|
|
|
set -g @plugin 'catppuccin/tmux'
|
|
|
|
set -g @catppuccin_flavour 'macchiato'
|
|
|
|
set -g @catppuccin_status_modules_right "application session"
|
|
|
|
set -g @catppuccin_status_modules_left ""
|
|
|
|
set -s default-terminal 'xterm-256color'
|
2024-04-02 19:13:55 +00:00
|
|
|
|
|
|
|
# set some sanity options
|
|
|
|
# - This makes sure to keep the window/pane count starting at 1
|
|
|
|
setw -g base-index 1
|
|
|
|
setw -g pane-base-index 1
|
|
|
|
# - This prevents me from having to press escape twice
|
2024-04-03 19:09:33 +00:00
|
|
|
set -s escape-time 50
|
2024-04-02 19:13:55 +00:00
|
|
|
|
|
|
|
# allow mouse interaction
|
|
|
|
set-option -g mouse on
|
|
|
|
|
|
|
|
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
2024-04-03 19:09:33 +00:00
|
|
|
run '~/.tmux/plugins/tpm/tpm'
|