Files
.config/tmux/tmux.conf
2024-08-08 14:39:30 +02:00

51 lines
1.4 KiB
Bash

bind r source-file ~/.config/tmux/tmux.conf
setw -g window-status-separator ''
setw -g window-status-format '#[fg=#f8f8f2]#[bg=#44475a] [#I] #W '
setw -g window-status-current-format '#[fg=#282a36]#[bg=#50fa7b]#[bold] [#I] #W '
set -g status-left ''
set -g status-right '#[fg=#282a36]#[bg=#bd93f9]#[bold] #S '
set-window-option -g mode-style 'bg=#44475a'
setw -g message-style 'fg=#50fa7b,bg=#44475a'
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
run '~/.tmux/plugins/tpm/tpm'