This repository has been archived by the owner on Oct 12, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
54 lines (43 loc) · 1.71 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
set-option -g default-shell /bin/zsh
#set -g utf8
#set-window-option -g utf8 on
# set -g default-terminal "screen-256color"
set -sg escape-time 1
set-option -g allow-rename off
set-window-option -g automatic-rename off
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-pain-control'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-copycat'
set -g @plugin 'tmux-plugins/tmux-yank'
set-option -g renumber-windows on
run '~/.tmux/plugins/tpm/tpm'
set -g @resurrect-processes 'false'
unbind r
bind r source-file ~/.tmux.conf \; display "Reloaded!"
# # status
set-option -g status-interval 1
set-option -g status-fg white
set-option -g status-bg black
set-option -g status-attr bright
# # # default window title colors
set-window-option -g window-status-fg white
set-window-option -g window-status-bg default
set-window-option -g window-status-attr bright
#
set -g status-right-length 30
set -g status-right "#[fg=yellow] Session:#S Window:#I Pane:#P"
set-window-option -g window-status-current-fg white
set-window-option -g window-status-current-bg red
set-window-option -g window-status-current-attr bright
# mouse
set-option -g -q mouse on
# bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'select-pane -t=; copy-mode -e; send-keys -M'"
# bind -n WheelDownPane select-pane -t= \; send-keys -M
# bind -n C-WheelUpPane select-pane -t= \; copy-mode -e \; send-keys -M
# bind -t vi-copy C-WheelUpPane halfpage-up
# bind -t vi-copy C-WheelDownPane halfpage-down
# bind -t emacs-copy C-WheelUpPane halfpage-up
# bind -t emacs-copy C-WheelDownPane halfpage-down