2024-01-31 15:16:11 +00:00
|
|
|
set -g default-terminal "tmux-256color"
|
2024-02-06 22:09:01 +00:00
|
|
|
set -ag terminal-overrides ",*:RGB"
|
2024-01-31 15:16:11 +00:00
|
|
|
|
|
|
|
unbind C-b
|
|
|
|
set-option -g prefix C-a
|
|
|
|
bind-key C-a send-prefix
|
2024-03-17 15:44:52 +00:00
|
|
|
set -g status-style 'bg=#1D2021 fg=#D4BE98'
|
2024-01-31 15:16:11 +00:00
|
|
|
set-option -g status-position top
|
2024-02-23 21:15:23 +00:00
|
|
|
set-option -g status-right ""
|
2024-01-31 15:16:11 +00:00
|
|
|
set -g status-left-length 20
|
2024-02-03 23:06:03 +00:00
|
|
|
set-option -sg escape-time 10
|
2024-03-29 18:06:52 +00:00
|
|
|
set -g mouse on
|
2024-01-31 15:16:11 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2024-02-22 13:41:09 +00:00
|
|
|
bind-key -r f run-shell "tmux neww ~/.local/share/scripts/tmux-sessionizer.sh"
|