Files
dotfiles/tmux/.config/tmux/tmux.conf
Michael Yockey 9326c1094e Set tmux colors
2024-08-16 09:14:54 -04:00

27 lines
846 B
Bash

# TMUX color settings https://paulgessinger.com/posts/2020/full-gui-colors-in-iterm-tmux-and-vim/
set-option -g default-terminal 'tmux-256color'
set-option -g terminal-overrides ',xterm-256color:RGB'
set -g mouse on
setw -g mode-keys vi
# Index windows and panes at 1 instead of 0
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 @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'catppuccin/tmux'
set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @catppuccin_flavour 'mocha'
run '~/.config/tmux/plugins/tpm/tpm'
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 y send-keys -X copy-pipe-and-cancel
bind-key -T copy-mode-vi C-v send-keys -X rectangle-toggle