-
Notifications
You must be signed in to change notification settings - Fork 0
/
dot_tmux.conf
42 lines (32 loc) · 1.06 KB
/
dot_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
41
42
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'christoomey/vim-tmux-navigator'
# required for true colors in vim
set -ga terminal-overrides ",*-256color:Tc"
set -g mouse on
set -g status on
set -g status-style bg=default
set -g status-justify left
set -g status-left "#[fg=grey]> "
set -g window-status-current-format "#[fg=yellow]#I:#W"
set -g window-status-format "#[fg=grey]#I:#W"
set -g status-right ""
set -g copy-command 'pbcopy'
set-window-option -g mode-keys vi
bind t copy-mode
bind -r s split-window -v
bind -r v split-window -h
bind -r h select-pane -L
bind -r j select-pane -D
bind -r k select-pane -U
bind -r l select-pane -R
bind -r @ select-pane -t :.+
bind Space display-popup -E "tmux new-session -A -s popup"
bind -r S-Left swap-window -t -1\; select-window -t -1
bind -r S-Right swap-window -t +1\; select-window -t +1
bind -r -n S-Left select-window -t :-
bind -r -n S-Right select-window -t :+
bind -r Enter last-window
# plugins
run '~/.tmux/plugins/tpm/tpm'