-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
58 lines (46 loc) · 1.37 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
51
52
53
54
55
56
57
# enable 256 color mode
set -g default-terminal "xterm-256color"
# renumber when windows are removed
set -g renumber-windows on
# split downwards: alt+, sideways: alt+.
bind -n M-, split-window -v
bind -n M-. split-window -h
# navigate between panes with alt + arrow keys
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
# enable mouse controls
set -gq mouse on
set -gq mode-mouse on
set -gq mouse-resize-pane on
set -gq mouse-select-pane on
set -gq mouse-select-window on
# more history
set -g history-limit 40000
# change terminal title
set -g set-titles on
set -g set-titles-string '#H/#(whoami)/#I:#P/#W'
# statusbar
set -g status on
set -g status-position top
set -g status-justify centre
set -g status-left ' #I:#P/#W '
set -g status-right ' #h/#(whoami) '
set -g window-status-format ' #I:#W '
set -g window-status-current-format ' #I:#F#W '
set -g status-bg default
set -g status-fg colour2
set -g status-left-bg colour6
set -g status-left-fg colour15
set -g status-right-bg colour6
set -g status-right-fg colour15
set -g window-status-current-bg colour2
set -g window-status-current-fg colour15
# pane borders
set -g pane-border-bg default
set -g pane-border-fg colour5
set -g pane-active-border-bg default
set -g pane-active-border-fg colour6
# enable automatic renaming
set-window-option -g automatic-rename on