/
.tmux.conf
44 lines (34 loc) · 1.2 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
set -g prefix C-a
unbind C-b
bind C-a send-prefix
# Use ctrl-a ctrl-a for swapping windows.
bind C-a last-window
# Reload configuration.
bind r source-file ~/.tmux.conf
set-window-option -g mode-keys vi
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
unbind % # Remove default binding since we’re replacing
unbind '"'
bind | split-window -h
bind - split-window -v
# Show window list like in screen.
bind '"' choose-window
# Kill panes with k. No confirmation prompt.
# No, silly, don't do this - we want to use k for pane-selecting!
#bind k kill-pane
# All the foreground colors seem to be ignored for some reason...
# Colors: black, red, green, yellow, blue, magenta, cyan, white or default
set -g status-bg cyan
set -g status-fg white
set-window-option -g window-status-current-style bg=magenta
# Having this change triggers iTerm's window-change-notifications
#set -g status-right '#[fg=black](#(hostname -s))#(uptime | cut -d "," -f 4-)'
set -g status-right '#[fg=black](#(hostname -s))'
# Set window notifications
setw -g monitor-activity on
set -g visual-activity on
# By default, we've only got 1955 lines in the scrollback buffer. More.
set -g history-limi 10000