-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
40 lines (31 loc) · 1.37 KB
/
.tmux.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
set -g default-terminal "tmux-256color"
set -ga terminal-overrides ",*256col*:Tc"
# fix ssh agent when tmux is detached
set-environment -g 'SSH_AUTH_SOCK' ~/.ssh/ssh_auth_sock
# Update ssh environment when we log back in
set -g update-environment "SSH_ASKPASS SSH_AUTH_SOCK SSH_AGENT_PID SSH_CONNECTION"
# visual notification of activity in other windows
set-window-option -g monitor-activity on
set -g visual-activity on
# control automatic window renaming
set-window-option -g automatic-rename on # auto name
set-window-option -g allow-rename on
# start windows at panes at 1, not 0
set -g base-index 1
setw -g pane-base-index 1
#set -g @plugin 'tmux-plugins/tpm'
#set -g @plugin 'tmux-plugins/tmux-sensible'
#set -g @plugin 'odedlaz/tmux-onedark-theme'
# Install tpm if we don't have it
#if "test ! -d ~/.tmux/plugins/tpm" \
# "run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm \
# && ~/.tmux/plugins/tpm/bin/install_plugins'"
# TODO debug why this isn't working
#set -g @onedark_date_format "%Y-%m-%d"
#set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
run-shell "~/.tmux/themes/nord-tmux/nord.tmux"
#set -g @plugin 'odedlaz/tmux-onedark-theme'
#run-shell .tmux/plugins/tmux-onedark-theme/tmux-onedark-theme.tmux
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
#run -b '~/.tmux/plugins/tpm/tpm'