-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
72 lines (59 loc) · 2.27 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
70
71
72
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-resurrect'
run -b '~/.tmux/plugins/tpm/tpm'
set-window-option -g mode-keys vi
set -sg escape-time 1
set -g base-index 1
setw -g pane-base-index 1
set -g mouse on
bind -n WheelUpPane select-pane -t= \; copy-mode -e \; send-keys -M
bind -n WheelDownPane select-pane -t= \; send-keys -M
set -g status-fg white
set -g status-bg black
#set -g pane-border-fg green
#set -g pane-border-bg black
#set -g pane-active-border-fg white
#set -g pane-active-border-bg yellow
#set -g message-fg white
#set -g message-bg black
#set -g message-attr bright
set -g status-left-length 40
#Sets the appearance of the left sidebar
set -g status-left "#[fg=colour39]. #S #[fg=yellow]. #(whoami)"
#Sets the appearance of the center
#setw -g window-status-fg colour238
#setw -g window-status-bg default
#setw -g window-status-attr dim
#setw -g window-status-current-fg white
#setw -g window-status-current-bg green
#setw -g window-status-current-attr bright
#setw -g window-status-activity-bg red
#setw -g window-status-activity-fg white
#setw -g window-status-bell-fg white
#setw -g window-status-bell-bg red
#setw -g window-status-bell-attr bold
#Sets the appearance of the right sidebar, i.e time and clock.
set -g status-right "#[fg=colour136, brigth]. %d %b %R"
set -g status-interval 60
set -g status-justify centre
setw -g monitor-activity on
set -g visual-activity on
#setw -g mode-keys vi
set-option -g history-limit 20000
# tmux-256color instead of screen-256color enables italics
set -g default-terminal "tmux-256color"
# Tc enables true color
set -ag terminal-overrides ",*256col*:colors=256:Tc"
# Ms modifies OSC 52 clipboard handling to work with mosh, see
# https://gist.github.com/yudai/95b20e3da66df1b066531997f982b57b
set -ag terminal-overrides "vte*:XT:Ms=\\E]52;c;%p2%s\\7,xterm*:XT:Ms=\\E]52;c;%p2%s\\7"
# enable OSC 52 clipboard
# https://medium.freecodecamp.org/tmux-in-practice-integration-with-system-clipboard-bcd72c62ff7b
set -g set-clipboard on
# use bracketed paste, if the running application (vim/emacs/weechat) has
# sent the terminal code to enable it.
bind-key ] paste-buffer -p
setw -g aggressive-resize off
# http://comments.gmane.org/gmane.emacs.vim-emulation/1557
set -s escape-time 0