48 lines
1.5 KiB
Bash
48 lines
1.5 KiB
Bash
# Options
|
|
set-option -a terminal-features 'xterm-256color:RGB'
|
|
set -g mouse on
|
|
|
|
# Change start index to 1
|
|
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
|
|
|
|
# Keymap
|
|
bind -n M-H previous-window
|
|
bind -n M-L next-window
|
|
bind '"' split-window -v -c "#{pane_current_path}"
|
|
bind % split-window -h -c "#{pane_current_path}"
|
|
|
|
# Check the prefix keys
|
|
unbind C-b
|
|
set -g prefix `
|
|
bind ` send-prefix
|
|
|
|
# List of plugins
|
|
set -g @plugin 'tmux-plugins/tpm'
|
|
set -g @plugin 'tmux-plugins/tmux-sensible'
|
|
set -g @plugin 'christoomey/vim-tmux-navigator'
|
|
set -g @plugin 'catppuccin/tmux'
|
|
|
|
# Catppuccin config
|
|
set -g @catppuccin_flavour 'mocha'
|
|
set -g @catppuccin_window_left_separator ""
|
|
set -g @catppuccin_window_right_separator " "
|
|
set -g @catppuccin_window_middle_separator " "
|
|
set -g @catppuccin_window_number_position "left"
|
|
set -g @catppuccin_window_default_fill "all"
|
|
set -g @catppuccin_window_default_text "#W"
|
|
set -g @catppuccin_window_current_fill "all"
|
|
set -g @catppuccin_window_current_text "#W"
|
|
set -g @catppuccin_status_modules_right "application date_time directory session"
|
|
set -g @catppuccin_status_left_separator " "
|
|
set -g @catppuccin_status_right_separator ""
|
|
set -g @catppuccin_status_right_separator_inverse "no"
|
|
set -g @catppuccin_status_fill "icon"
|
|
set -g @catppuccin_status_connect_separator "no"
|
|
set -g @catppuccin_directory_text "#{pane_current_path}"
|
|
|
|
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
|
run '~/.tmux/plugins/tpm/tpm'
|