-
Notifications
You must be signed in to change notification settings - Fork 0
/
_tmux.conf
82 lines (64 loc) · 1.95 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
unbind-key C-b
set -g prefix C-a
bind-key C-a send-prefix
bind a send-prefix
set -g base-index 1
unbind-key ^C
bind-key ^C new-window
unbind-key ^D
bind-key ^D detach
unbind-key *
bind-key * list-clients
unbind-key ^N
bind-key ^N next-window
unbind-key ^P
bind-key ^P previous-window
unbind-key ^W
bind-key ^W list-windows
unbind-key ^q
bind-key ^q copy-mode
unbind-key q
bind-key q copy-mode
unbind-key r
bind-key r source-file ~/.tmux.conf
set-option -g mouse-select-pane off
#set-option -g mouse-resize-pane off
#set-option -g mouse-select-window off
set-window-option -g mode-mouse off
#set-option -g mouse-select-pane on
unbind-key %
bind-key | split-window -h
bind-key - split-window -v
unbind-key C-a
bind-key C-a last-window
bind-key > resize-pane -R 20
bind-key < resize-pane -L 20
set-option -g status-keys vi
set-option -g bell-action any
set-option -g set-titles on
set-option -g set-titles-string '#H:#S.#I.#P #W #T' # window number,program name,active (or not)
set-option -g visual-bell on
#unbind-key C-s
#bind C-s choose-session
setw -g mode-keys vi
#setw -g mode-mouse on
setw -g monitor-activity on
set-option -g status-utf8 on
# set-option -g status-justify centre
set-option -g status-justify left
set-option -g status-bg black
set-option -g status-fg white
set-option -g status-left-length 40
setw -g window-status-fg white
setw -g window-status-bg default
setw -g window-status-attr dim
#setw -g window-status-alert-bg black
#setw -g window-status-alert-fg yellow
#setw -g window-status-alert-attr dim
setw -g window-status-current-fg black
setw -g window-status-current-attr bright
setw -g window-status-current-bg green
# set -g status-right '#[fg=green]][#[fg=white] #T #[fg=green]][ #[fg=blue]%Y-%m-%d #[fg=white]%H:%M#[default]'
set -g status-left '#[fg=green][ #[fg=colour10]@#H#[fg=green]:#[fg=white]#S #[fg=green]][#[default]'
set -g status-right '#[fg=green]][ #[fg=blue]%Y-%m-%d #[fg=white]%H:%M#[default]'
set -g history-limit 4096