-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
112 lines (82 loc) · 3.33 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
set-window-option -g mode-keys vi
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
unbind '"'
unbind %
bind r source-file ~/.tmux.conf
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
set -g mouse on
# reduce ESC delay for neovim
set -sg escape-time 0
# window movement
unbind p
unbind n
unbind [
bind [ previous-window
bind ] next-window
# more vi-like copy
bind Escape copy-mode
bind p paste-buffer
#bind-key -t vi-copy 'v' begin-selection
#bind-key -t vi-copy 'y' copy-pipe 'xclip -in -selection clipboard'
# theming
set -g default-terminal "screen-256color"
set-option -ga terminal-overrides ",xterm-256color:Tc"
set-window-option -g clock-mode-colour colour109
set-window-option -g mode-style fg=colour196,bg=colour238,bold
set -g pane-border-style fg=colour250
set -g pane-active-border-style fg=colour237
set -g status-left-style 'none'
set -g status-left "#{prefix_highlight} #[fg=colour241, bg=colour237, nobold, noitalics, nounderscore]"
set -g status-left-length '60'
set-window-option -g window-status-current-format "#[fg=colour239, bg=colour248, :nobold, noitalics, nounderscore]#[fg=colour239, bg=colour214] #I #[fg=colour239, bg=colour214, bold] #W #[fg=colour214, bg=colour237, nobold]"
set-window-option -g window-status-format "#[fg=colour237,bg=colour239,noitalics]#[fg=colour223,bg=colour239] #I #[fg=colour223, bg=colour239] #W #[fg=colour239, bg=colour237, noitalics]"
set -g status 'on'
set -g status-position top
set -g status-style bg=colour237,fg=colour223,'none'
set -g status-justify 'left'
set-window-option -g window-status-style bg=default,fg=colour237,none
set-window-option -g window-status-current-style bg=colour214,fg=colour237,bold
set-window-option -g window-status-activity-style bg=colour237,fg=colour248
set-window-option -g window-status-bell-style fg=colour255,bold,bg=colour1
set -g message-style bg=colour239,fg=colour223
set -g message-command-style bg=colour239,fg=colour223
set-option -g display-panes-active-colour colour250 #fg2
set-option -g display-panes-colour colour237 #bg1
# status bar
set-option -g visual-activity off
set-option -g visual-bell off
set-option -g visual-silence off
set-window-option -g monitor-activity off
set-option -g bell-action none
# reload config
bind-key R source-file ~/.tmux.conf \; display-message "~/.tmux.conf reloaded"
bind-key M split-window -h "$EDITOR ~/.tmux.conf"
#set -g status-utf8 on
set -g status-justify left
set -g status-interval 2
# plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-copycat'
set -g @plugin 'tmux-plugins/tmux-open'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @plugin 'tmux-plugins/tmux-battery'
set -g @plugin 'tmux-plugins/tmux-cpu'
set -g @plugin 'xamut/tmux-network-bandwidth'
set -g @plugin 'tmux-plugins/tmux-online-status'
set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'Morantron/tmux-fingers'
set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin 'laktak/extrakto'
set -g @plugin 'tmux-plugins/tmux-pain-control'
set -g @continuum-restore 'on'
# run-shell "imprompto tmux-setup"
# source "~/.config/imprompto/imprompto-tmux.conf"
run -b '~/.tmux/plugins/tpm/tpm'