aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/install/opensim.tmux.conf
blob: ea342a25b48cd0058162f7dc050c15a5229b5ca4 (plain)
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
# Tmux has a habit of changing what these options are for each version, so this is a bit of a mess.

set-option -g prefix C-a
unbind-key C-b
bind-key C-a send-prefix

# r reloads the configuration, handy
bind r source-file ~/.tmux.conf

unbind % # Remove default binding since we’re replacing them.
bind | split-window -h
bind - split-window -v

set-option -g bell-action any
set-option -g bell-on-alert on

set-option -g history-limit 100000

# These three wont work under Ubuntu 16.04.
set-option -g mouse-resize-pane on
set-option -g mouse-select-pane on
set-option -g mouse-select-window on
set-option -g mouse-utf8 on

#set-option -g set-remain-on-exit on
set-option -g set-titles on
set-option -g set-titles-string '#W'

set-option -g status-interval 1
set-option -g status-justify centre
set-option -g status-utf8 on

set-option -g status-left-length 80
set-option -g status-left '[#H #S #F]'
set-option -g status-right-length 80
set-option -g status-right '%F #(uptime)'<-----># &F is ISO date, uptime starts with the current time, and ends with the load average.  B-)

set-option -g visual-activity on
set-option -g visual-content on
set-option -g visual-silence on

set-option -gw clock-mode-style 24
# This wont work under Ubuntu 16.04.
set-option -gw mode-mouse on
# Instead do this (also defaults to turning on the above three mouse things) -
#set-option -gw mouse on

# Highlight active window
set-option -gw window-status-current-bg red

# Set window notifications
set-option -gw monitor-activity on