-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux.conf
34 lines (31 loc) · 1.13 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
set-environment -g PATH "$PATH:/opt/homebrew/bin"
set-option -g base-index 1
set-option -g default-shell /bin/zsh
set-option -g display-time 4000 #4s
set-option -g history-limit 5000
set-option -g mode-keys vi
set-option -g mouse on
set-option -g status-position top
set-option -ga terminal-overrides ',*256col*:Tc'
set-option -s default-terminal 'screen-256color'
set-option -g @plugin 'tmux-plugins/tpm'
set-option -g @plugin 'tmux-plugins/tmux-yank'
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind -n F1 select-pane -P 'bg=#111111'
bind -n F2 select-pane -P 'bg=#220000'
bind -n F3 select-pane -P 'bg=#222200'
bind -n F4 select-pane -P 'bg=#002200'
bind -n F5 select-pane -P 'bg=#002222'
bind -n F6 select-pane -P 'bg=#000022'
bind -n F7 select-pane -P 'bg=#220022'
bind r source ~/.tmux.conf
bind -n C-l send-keys -R C-u C-k clear\n
bind c new-window -c "#{pane_current_path}"
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
bind w kill-window
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'