forked from samerbuna/.files
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.tmux.conf
80 lines (59 loc) · 2.12 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
# C-b is not acceptable -- Vim uses it
set -g prefix C-a
unbind-key C-b
# C-a C-a for the Last Active Window
bind C-a copy-mode
# Start Window Numbering at 1
set -g base-index 1
# Faster Command Sequences
set -s escape-time 0
# Rather than constraining window size to the maximum size of any client
# # connected to the *session*, constrain window size to the maximum size of any
# # client connected to *that window*. Much more reasonable.
setw -g aggressive-resize on
# Set status bar
set -g status-bg black
set -g status-fg white
set -g status-left ""
set -g status-right "#[fg=green]#H"
set -g status-utf8 on
set -g status-keys vi
set -g set-titles on
set -g set-titles-string '#H:#S.#I.#P #W #T' # window number,program name,active (or not)
setw -g mode-keys vi
setw -g window-status-current-fg green
set -g status-left '#[fg=red]#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 999999
# `+r reloads the configuration, handy
bind r source-file ~/.tmux.conf
unbind %
bind | split-window -h
bind - split-window -v
# Set window notifications
# setw -g monitor-activity on
set -g visual-activity on
#### COLOUR (Solarized light)
# default statusbar colors
set-option -g status-bg white #base2
set-option -g status-fg yellow #yellow
set-option -g status-attr default
# default window title colors
set-window-option -g window-status-fg brightyellow #base00
set-window-option -g window-status-bg default
#set-window-option -g window-status-attr dim
# active window title colors
set-window-option -g window-status-current-fg brightred #orange
set-window-option -g window-status-current-bg default
#set-window-option -g window-status-current-attr bright
# pane border
set-option -g pane-border-fg white #base2
set-option -g pane-active-border-fg brightcyan #base1
# message text
set-option -g message-bg white #base2
set-option -g message-fg brightred #orange
# pane number display
set-option -g display-panes-active-colour blue #blue
set-option -g display-panes-colour brightred #orange
# clock
set-window-option -g clock-mode-colour green #green