summaryrefslogtreecommitdiffstats
path: root/docker/tmux-config
blob: 0fd36356cb0d89fe20cefd0a5db9454e8370b7d5 (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
# remap prefix to Control + a
set -g prefix C-a
unbind C-b
bind C-a send-prefix

# reload ~/.tmux.conf using PREFIX r
bind r source-file ~/.tmux.conf \; display "Reloaded!"

# scroll mode with s
bind s copy-mode
# scroll also with mouse
# Problem: can't select text anymore
#set -g mode-mouse on

# use windows like tabs (S means shift key)
bind -n S-down new-window -c "#{pane_current_path}"
bind -n S-left prev
bind -n S-right next

# Start numbering at 1
set -g base-index 1

# COLORS!
set -g default-terminal "screen-256color"

# status line
set -g status-fg white
set -g status-bg blue
set -g window-status-current-bg white
set -g window-status-current-fg blue

# colorize messages in the command line
set-option -g message-bg black #base02
set-option -g message-fg brightred #orange