tmux/tmux.conf

51 lines
1.3 KiB
Plaintext
Raw Normal View History

2024-06-08 14:14:30 +02:00
set-option -sa terminal-overrides ",xterm-256color:RGB"
2024-01-07 00:17:58 +01:00
set -g default-terminal "screen-256color"
2024-06-08 14:14:30 +02:00
set-option -g default-shell /usr/bin/zsh
# Start window at 1 instead of 0
set -g base-index 1
setw -g pane-base-index 1
2024-01-07 00:17:58 +01:00
set -g mouse on
# ---- Change prefix key
unbind C-b
set -g prefix C-x
bind C-x send-prefix
# ---- Change split bindings
unbind '"'
unbind %
bind h split-window -h
bind v split-window -v
# ---- Disable kill pane validation
bind x kill-pane
#---------------------------------------------------------- Plugins
set -g @plugin 'tmux-plugin/tpm'
set -g @plugin 'tmux-plugin/tmux-sensible'
set -g @plugin 'catppuccin/tmux'
set -g @catppuccin_window_left_separator "█"
set -g @catppuccin_window_right_separator "█ "
set -g @catppuccin_window_number_position "right"
set -g @catppuccin_window_middle_separator " █"
set -g @catppuccin_window_default_fill "number"
set -g @catppuccin_window_current_fill "number"
set -g @catppuccin_window_current_text "#{pane_current_path}"
set -g @catppuccin_status_modules_right "application session date_time"
set -g @catppuccin_status_left_separator ""
set -g @catppuccin_status_right_separator " "
set -g @catppuccin_status_right_separator_inverse "yes"
set -g @catppuccin_status_fill "all"
set -g @catppuccin_status_connect_separator "no"
run '~/.tmux/plugins/tpm/tpm'