Files
.config/tmux/tmux.conf
2025-09-23 14:01:30 +02:00

55 lines
1.5 KiB
Bash

bind r source-file ~/.config/tmux/tmux.conf
set -sg escape-time 0
set-option focus-events on
setw -g window-status-separator ''
setw -g window-status-format '#[fg=#cdd6f4]#[bg=#313244] [#I] #W '
setw -g window-status-current-format '#[fg=#1e1e2e]#[bg=#fab387]#[bold] [#I] #W '
set -g status-left ''
set -g status-right '#[fg=#1e1e2e]#[bg=#fab387]#[bold] #S '
set-window-option -g mode-style 'bg=#313244'
setw -g message-style 'fg=#fab387,bg=#313244'
set -g default-terminal 'tmux-256color'
set -ag terminal-overrides ',xterm-256color:RGB'
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
set -g mouse on
unbind C-b
set -g prefix C-Space
bind C-Space send-prefix
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}'
bind c new-window -c '#{pane_current_path}'
bind-key -n F3 set-option -g status
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @shell_mode 'vim'
set-window-option -g mode-keys vi
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi C-v send-keys -X rectangle-toggle
bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
set -g status-bg default
set -g status-style bg=default
set-option -g detach-on-destroy off
run '~/.tmux/plugins/tpm/tpm'