43 lines
1.1 KiB
Bash
43 lines
1.1 KiB
Bash
# Reload tmux configuration
|
|
unbind r
|
|
bind r source-file ~/.config/tmux/tmux.conf \; display-message "Tmux config reloaded!"
|
|
|
|
# Set prefix key to Ctrl-s
|
|
set -g prefix C-s
|
|
|
|
# Enable mouse support
|
|
set -g mouse on
|
|
|
|
# Set index starting at 1 for windows and panes
|
|
set -g base-index 1
|
|
set -g pane-base-index 1
|
|
set-window-option -g pane-base-index 1
|
|
set-option -g renumber-windows on
|
|
|
|
# Remap pane navigation to vim-style keys
|
|
bind-key h select-pane -L
|
|
bind-key j select-pane -D
|
|
bind-key k select-pane -U
|
|
bind-key l select-pane -R
|
|
|
|
# Set split binds
|
|
bind v split-window -h
|
|
bind h split-window -v
|
|
bind n new-window
|
|
bind q kill-pane
|
|
|
|
set-option -g status-position top
|
|
|
|
#* TMUX Plugin Manager Configuration
|
|
# List of plugins
|
|
set -g @plugin 'tmux-plugins/tpm'
|
|
set -g @plugin 'dreamsofcode-io/catppuccin-tmux'
|
|
|
|
# Other examples:
|
|
# set -g @plugin 'github_username/plugin_name'
|
|
# set -g @plugin 'github_username/plugin_name#branch'
|
|
# set -g @plugin '[email protected]:user/plugin'
|
|
# set -g @plugin '[email protected]:user/plugin'
|
|
|
|
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
|
run '~/.tmux/plugins/tpm/tpm' |