-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux.conf
44 lines (31 loc) · 1.25 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
set-option -g prefix C-q
# Remove session name from the left side.
set-option -g status-left ''
# Don't display the time in the status bar, it makes my local term think there's activity when there's not.
set-option -g status-right ''
# Make sure we've got enough colors, or your Emacs themes will look funky.
set-option -g default-terminal 'screen-256color'
# Larger history buffer.
set-option -g history-limit 100000
# The default, but let's be explicit.
set-option -g mode-keys emacs
# Flash a message in the status line when there's activity.
#set-option -g visual-activity on
# The default is `&`. Ick.
unbind &
bind-key k confirm-before kill-window
# Better split mappings.
bind-key | split-window -h
bind-key - split-window -v
# renumber windows sequentially after closing any of them
set-option -g renumber-windows on
set-window-option -g automatic-rename
set-option -g status-bg black
set-option -g status-fg white
set-window-option -g window-status-current-bg black
set-window-option -g window-status-current-fg green
set-window-option -g window-status-activity-bg black
set-window-option -g window-status-activity-fg red
# actually copying text using emacs mode's alt-w doesn't seem to work,
# so cave and use vi mode :/
set-window-option -g mode-keys vi