-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtmux.conf
64 lines (57 loc) · 1.83 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
set -g prefix C-q
unbind C-b
set -g mouse on
set -g status on
set -g base-index 1
set -g renumber-windows on
set -g default-shell $SHELL
set -g default-terminal "screen-256color"
set -g status-interval 5
set -g status-style default
set -g status-bg black
set -g status-fg white
set -g status-justify "left"
set -g status-left ""
set -g status-right "#{prefix_highlight}"
set -g status-right-length 120
set -g history-limit 20000
setw -g mode-keys vi
setw -g xterm-keys on
setw -g pane-base-index 1
setw -g monitor-activity on
setw -g window-status-style bg=default,fg=black
setw -g window-status-current-style bg=default,fg=white,bold
bind x copy-mode
bind p paste-buffer
bind : command-prompt
bind w choose-window
bind s split-window -v -c "#{pane_current_path}"
bind v split-window -h -c "#{pane_current_path}"
bind e setw synchronize-panes on
bind E setw synchronize-panes off
bind r source-file ~/.tmux.conf
bind j select-pane -D
bind k select-pane -U
bind h select-pane -L
bind l select-pane -R
bind -T copy-mode-vi v send -X begin-selection
bind -T copy-mode-vi V send -X select-line
bind -T copy-mode-vi y send -X copy-pipe-and-cancel 'pbcopy'
bind -T copy-mode-vi Y send -X copy-pipe-and-cancel 'pbcopy'
bind -n S-Up select-pane -t :.+
bind -n S-Down select-pane -t :.-
bind -n S-Left previous-window
bind -n S-Right next-window
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-open'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @plugin 'tmux-plugins/tmux-pain-control'
set -g @plugin 'nhdaly/tmux-better-mouse-mode'
set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
set -g @continuum-restore 'on'
set -g @prefix_highlight_fg 'white'
set -g @prefix_highlight_bg 'yellow'
run '~/.tmux/plugins/tpm/tpm'