41 lines
997 B
Plaintext
41 lines
997 B
Plaintext
|
set -g mouse on
|
||
|
|
||
|
set -sa terminal-overrides ",xterm*:Tc"
|
||
|
set-option -g destroy-unattached on
|
||
|
|
||
|
unbind C-b
|
||
|
set -g prefix C-Space
|
||
|
bind C-Space send-prefix
|
||
|
|
||
|
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
|
||
|
|
||
|
bind -n M-H previous-window
|
||
|
bind -n M-: next-window
|
||
|
|
||
|
# List of plugins
|
||
|
set -g @plugin 'tmux-plugins/tpm'
|
||
|
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||
|
# set -g @plugin 'dreamsofcode-io/catppuccin/tmux'
|
||
|
set -g @plugin 'christoomey/vim-tmux-navigator'
|
||
|
set -g @plugin 'tmux-plugins/tmux-yank'
|
||
|
|
||
|
# set -g @catppuccin_flavour 'mocha'
|
||
|
|
||
|
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-selection
|
||
|
bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
|
||
|
|
||
|
unbind %
|
||
|
unbind '"'
|
||
|
bind '\' split-window -v -c "#{pane_current_path}"
|
||
|
bind ']' split-window -h -c "#{pane_current_path}"
|
||
|
|
||
|
bind C-l send-keys 'C-l'
|
||
|
|
||
|
run '~/.config/tmux/tpm/tpm'
|