-
Notifications
You must be signed in to change notification settings - Fork 1
/
.tmux.conf
67 lines (49 loc) · 1.64 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
set -g prefix F1
set -g pane-base-index 1
# set title on
set -g set-titles on
# Activity monitoring
setw -g monitor-activity on
set -g visual-activity on
# split windows
bind - split-window -v
bind | split-window -h
set -g terminal-overrides 'xterm*:XT:smcup@:rmcup@'
set -ga terminal-overrides ",rxvt*:XT"
# Don't start a login shell
set -g default-command bash
# Set default terminal to screen-256color
set -g default-terminal "screen-256color"
# Status line
set -g status-left '[#(whoami)]'
set -g status-right-length 60
set -g status-right '| #(whoami)@#H | %H:%M %a %d-%m-%Y'
#set -g status-right '| #(whoami)@#H | #(cut -d " " -f 1-3 /proc/loadavg) | %H:%M %a %d-%m-%Y'
#### COLOUR (Solarized dark)
# default statusbar colors
set-option -g status-bg black
set-option -g status-fg white
set-option -g status-attr bold
# default window title colors
set-window-option -g window-status-fg colour254
set-window-option -g window-status-bg colour135
set-window-option -g window-status-attr italics
# mouse on
set-window-option -g window-status-current-bg white
set-window-option -g window-status-current-fg red
set-window-option -g window-status-current-attr bold,italics
# pane border
set-option -g pane-border-fg green
set-option -g pane-active-border-fg colour46
# message text
set-option -g message-bg colour235
set-option -g message-fg colour196
# pane number display
set-option -g display-panes-active-colour colour20
set-option -g display-panes-colour colour196
# clock
set-window-option -g clock-mode-colour colour40
# Reload config
unbind r
bind r source-file ~/.tmux.conf \; display "Config reloaded!"
bind k clear-history \; display "Cleared history!"