-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathtmux.conf
43 lines (36 loc) · 981 Bytes
/
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
# Sane scrolling
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
#set -g default-terminal "xterm-256color"
set -g monitor-activity off
set -g visual-activity off
set -g renumber-windows on
set-option -g status on
set -g status-right-length 150
set -g status-interval 5
set -sg escape-time 0
set -sg repeat-time 600
# vim move panes
setw -g mode-keys vi
unbind-key j
bind-key j select-pane -D
unbind-key k
bind-key k select-pane -U
unbind-key h
bind-key h select-pane -L
unbind-key l
bind-key l select-pane -R
# Better window spliting
unbind %
bind | split-window -h -c "#{pane_current_path}"
bind \ split-window -v -c "#{pane_current_path}"
bind c new-window -c "#{pane_current_path}"
# Set status bar
set -g status-bg black
set -g status-fg white
set -g status-left ‘#[fg=green]#H’
# Highlight active window
set-window-option -g window-status-current-bg red
# Set window notifications
setw -g monitor-activity on
set -g visual-activity on
set -g history-limit 500000