/
tmux.conf
40 lines (31 loc) · 1.12 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
# Use Ctrl-A instead of Ctrl B
set-option -g prefix C-a
# Enable 256 color terminal support
set-option -g terminal-overrides "xterm:colors=256"
# Start numbering windows at 1 instead of 0
set-option -g base-index 1
# Status bar format - show only window names, centre-aligned
set-option -g status-left ""
set-option -g status-right ""
set-option -g status-justify centre
# Status bar - colours
set-option -g status-bg default
set-option -g status-fg default
# Status bar - window name format and active window highlighting
set-option -g window-status-current-bg white
set-option -g window-status-current-fg black
set-option -g window-status-format " #I #W "
set-option -g window-status-current-format " #I #W "
# Scroll with mouse
set-option -g mouse on
bind-key -t vi-copy WheelUpPane scroll-Up
bind-key -t vi-copy WheelDownPane scroll-down
# Use Vim keybindings in copy mode
set-window-option -g mode-keys vi
# Disable repeat when switching panes
bind-key Up select-pane -U
bind-key Down select-pane -D
bind-key Left select-pane -L
bind-key Right select-pane -R
# Don't automatically rename windows
set-option -g allow-rename off