-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
50 lines (37 loc) · 1.14 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
# Mouse mode
set-option -g mouse on
# Increase scrollback buffer size
set -g history-limit 50000
# Tmux messages are displayed for 4 seconds
set -g display-time 4000
# Refresh 'status-left' and 'status-right' more often
set -g status-interval 5
# Upgrade $TERM
set -g default-terminal "screen-256color"
# Emacs key bindings in tmux command prompt
set -g status-keys emacs
# Focus events enabled for terminals that support them
set -g focus-events on
# Super useful when using "grouped sessions" and multi-monitor setup
setw -g aggressive-resize on
# Change prefix keybind
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# More friendly split pane
bind-key j split-window -h
bind-key h split-window -v
# Easier and faster switching between next/prev window
bind C-p previous-window
bind C-n next-window
# Status bar
set -g status-fg colour33
set -g status-bg colour234
# Panes
set -g pane-active-border-style fg=colour33,bg=default
set -g pane-border-style fg=default,fg=default
# Improve panel switching waiting delay
bind-key Up select-pane -U
bind-key Down select-pane -D
bind-key Left select-pane -L
bind-key Right select-pane -R