summaryrefslogtreecommitdiff
path: root/tmux/.tmux.conf
blob: f2c781ada06674af9453905ae5e4608e6bc4cfa9 (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
set -g prefix C-a
unbind-key C-b
bind-key C-a send-prefix

# start with window 1 (instead of 0)
set -g base-index 1

# start with pane 1
set -g pane-base-index 1

# history
set -g history-limit 4096

# mouse 
set -g mouse on

# allow terminal scrolling
set-option -g terminal-overrides 'xterm*:smcup@:rmcup@'

# resizing
setw -g aggressive-resize on

# window status
set-option -g status-position bottom
set -g status-bg default

# info on right (no session display)
set-option -g status-right ""
set-option -g status-left ""

# toggle status bar visibility
bind t set status

# navigate throught windows
bind-key -n S-Left previous-window
bind-key -n S-Right next-window

# colors
setw -g window-status-format "#[fg=colour8]#W "
setw -g window-status-current-format "#[fg=colour6]#W "
# set -g pane-border-fg colour0
# set -g pane-active-border-fg colour0