-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
36 lines (23 loc) · 936 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
bind-key C-p command-prompt 'set-option -g default-path "%%"'
bind | split-window -h
bind - split-window -v
# Set status bar
set -g status-bg black
set -g status-fg white
set -g status-left-length 40
# Update default binding of `Enter` to use copy-pipe
unbind -T copy-mode-vi Enter
bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy"
set-option -g default-command "reattach-to-user-namespace -l bash"
set-window-option -g monitor-activity on
set -g visual-activity on
set -g status-interval 60
# Highlight active window
set-window-option -g window-status-current-bg red
# Automatically set window title
set-window-option -g automatic-rename on
set-window-option -g allow-rename on
set -g default-terminal "screen-256color"
bind r source-file ~/.tmux.conf \; display "tmux conf reloaded"
bind k clear-history \; display "You've no history!"
set-option -g renumber-windows on