dotfiles/.config/tmux/tmux.conf

25 lines
667 B
Bash

set -g default-terminal "tmux-256color"
set -ag terminal-overrides ",*:RGB"
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
set -g status-style 'bg=#181926 fg=#cad3f5'
set-option -g status-position top
set -g status-left-length 20
set-option -sg escape-time 10
bind r source-file ~/.config/tmux/tmux.conf
set -g base-index 1
set-window-option -g mode-keys vi
bind -T copy-mode-vi v send-keys -X begin-selection
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard'
# vim-like pane switching
bind -r ^ last-window
bind -r k select-pane -U
bind -r j select-pane -D
bind -r h select-pane -L
bind -r l select-pane -R