2022-05-17 13:15:43 -05:00
|
|
|
# set TERM variable inside tmux
|
2022-04-26 18:52:18 -05:00
|
|
|
set -g default-terminal "xterm-256color"
|
2022-05-17 11:59:40 -05:00
|
|
|
set -g @plugin "tmux-plugins/tpm"
|
|
|
|
set -g @plugin "arcticicestudio/nord-tmux"
|
2022-08-04 12:19:07 -05:00
|
|
|
set -g @plugin "tmux-plugins/tmux-prefix-highlight"
|
2022-05-17 13:15:43 -05:00
|
|
|
|
|
|
|
# set prefix to be control+a
|
2022-04-26 11:15:41 -05:00
|
|
|
unbind C-b
|
|
|
|
set-option -g prefix C-a
|
2022-05-17 13:15:43 -05:00
|
|
|
|
|
|
|
# tab management (consistent with vim config)
|
2022-05-17 11:59:40 -05:00
|
|
|
bind z previous-window
|
2022-04-26 11:15:41 -05:00
|
|
|
bind x next-window
|
2022-06-24 12:36:20 -05:00
|
|
|
bind q killw
|
|
|
|
bind Q confirm-before -p "kill session? (y/n)" kill-session
|
2022-05-17 11:59:40 -05:00
|
|
|
|
2022-08-04 12:19:07 -05:00
|
|
|
# Prefix Highlight settings
|
|
|
|
set -g @prefix_highlight_show_copy_mode 'on'
|
|
|
|
set -g @prefix_highlight_copy_prompt ' Copy '
|
|
|
|
|
2022-05-17 13:15:43 -05:00
|
|
|
# initialize plugin manager (this line should always be at the very bottom)
|
2022-05-17 11:59:40 -05:00
|
|
|
run '~/.tmux/plugins/tpm/tpm'
|