-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
51 lines (40 loc) · 1.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
# Set the prefix to C-t
set-option -g prefix C-t
unbind-key C-b
bind-key C-t send-prefix
# Reread the configuration file
bind l source-file ~/.tmux.conf
# Key bindings for the copy mode
set-window-option -g mode-keys vi
# Switching windows
unbind-key t
bind-key t next-window
bind-key r previous-window
# Status line
set -g status-bg black
set -g status-fg white
set -g status-attr dim
set -g status-left-length 50
set -g status-left '#[fg=green,bold][#(whoami)@#H]#[default]'
set -g status-right '#[fg=green,bold][%Y/%m/%d(%a)%H:%M]#[default]'
set -g message-attr bold
set -g message-fg white
set -g message-bg red
set -g pane-active-border-fg white
set -g pane-active-border-bg black
set-window-option -g mode-bg white
set-window-option -g mode-fg black
set-window-option -g window-status-bg black
set-window-option -g window-status-fg white
set-window-option -g window-status-current-bg white
set-window-option -g window-status-current-fg black
set-window-option -g window-status-current-attr bold
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
#
set -g @plugin 'nhdaly/tmux-better-mouse-mode'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'
# mouse
set-option -g mouse on