-
Notifications
You must be signed in to change notification settings - Fork 0
/
tmux.conf
70 lines (54 loc) · 1.61 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# tpm
set -g @plugin "arcticicestudio/nord-tmux"
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @plugin 'tmux-plugins/tmux-copycat'
set -g @plugin 'tmux-plugins/tmux-fpp'
set -g @plugin 'tmux-plugins/tmux-open'
set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-urlview'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'tmux-plugins/tpm'
# base bindings
unbind-key C-b
set-option -g prefix C-a
bind C-p previous-window
bind C-n next-window
bind C-a send-prefix
bind a last-window
bind -r C-h select-window -t :-
bind -r C-l select-window -t :+
bind c new-window -c '#{pane_current_path}'
bind R source-file "$HOME/.tmux.conf"
# base configuration
set -g default-terminal 'screen-256color'
set -sg escape-time 1
set -g history-limit 10000
set -g base-index 1
set -g display-time 5000
set -g status-interval 5
set -g focus-events on
setw -g pane-base-index 1
setw -g aggressive-resize on
set-option -g status-position top
# shell
set -g default-command "reattach-to-user-namespace -l $SHELL"
set -g default-shell "$SHELL"
# set window notifications
setw -g monitor-activity on
set -g visual-activity on
# act like vim
set-option -g status-keys vi
set-window-option -g mode-keys vi
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind Escape copy-mode
# plugins
set -g @continuum-boot-options 'iterm,fullscreen'
set -g @continuum-boot 'on'
set -g @continuum-restore 'on'
setenv -g TMUX_PLUGIN_MANAGER_PATH "$HOME/.tmux/plugins/"
run '~/.tmux/plugins/tpm/tpm'