-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
50 lines (39 loc) · 1.22 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
# Status bar
set -g status-bg black
set -g status-fg white
set-window-option -g status-left " #S "
set-window-option -g status-left-style bg=black
set-option -g status-position top
set-window-option -g status-right ""
set-window-option -g status-right-style bg=black
set-window-option -g window-status-format " #I: #W "
# Current window
set-window-option -g window-status-current-format " #I: #W "
set-window-option -g window-status-current-style fg=white
set-window-option -g window-status-current-style bg=blue
# Panes
set -g pane-border-style fg=white
set -g pane-active-border-style fg=red
# Mouse scrolling
set-option -g mouse on
bind -n WheelUpPane copy-mode -e
# split panes using | and -
bind | split-window -h
bind - split-window -v
unbind '"'
unbind %
# Set prefix to Ctrl-Space
unbind C-b
set -g prefix C-Space
bind Space send-prefix
# Start numbering at 1
set -g base-index 1
# Allows for faster key repetition
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*.
setw -g aggressive-resize on
# Activity monitoring
setw -g monitor-activity on
set -g visual-activity on