-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
48 lines (33 loc) · 1.15 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
set -g status-justify centre
unbind C-r
bind C-r source-file ~/.tmux.conf
#set-option -g status-keys-emacs
## Titles
set -g set-titles on
# wm window title string (uses statusbar variables)
set -g set-titles-string "tmux.#I.#W"
# rebind pane tiling
bind C-v split-window -h
bind C-h split-window
# colors
set -g base-index 1
set -g status-style fg=cyan
set-window-option -g window-status-current-style fg=white,bright
# command/message line colors
set -g message-style fg=white,bg=black,bright
set -g status-justify centre # left
# status bar settings
# border coloring for panes
# listen to alerts from all windows
set -g bell-action any
#bind Escape copy-mode
set-window-option -g clock-mode-colour green #green
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 status-left '#[fg=green](#S) #(whoami)'
if '[ -z "$DISPLAY" ]' 'set -g status-left "[#[fg=green] #H #[default]]"'
if '[ -z "$DISPLAY" ]' 'set -g status-left-length 50'
if '[ -z "$DISPLAY" ]' 'set -g status-right "[ #[fg=cyan,bright]%a %Y-%m-%d %H:%M #[default]]"'
if '[ -z "$DISPLAY" ]' 'set -g status-right-length 50'