forked from mathiasbynens/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
49 lines (37 loc) · 1.11 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
# Start indexing windows at 1 (oh the horror)
set -g base-index 1
# Enable 256color term
set -g default-terminal "xterm-256color"
# Set status bar
set -g status-bg black
set -g status-fg white
set -g status-left '#[fg=yellow]#(date +"%H:%M") '
set -g status-right "#[fg=yellow]#h, #(~/.tmux.uptime.sh)"
set -g status-right-length 50
# Highlight active window
set-window-option -g window-status-current-attr bold
# Large history
set -g history-limit 10000
# Force a reload of the config file
bind R source-file ~/.tmux.conf
# Rather than constraining window size to the maximum size of any client
# connected to the *session*, constrain window size to the maximum size of any
# client connected to *that window*. Much more reasonable.
setw -g aggressive-resize on
# Set window notifications
setw -g monitor-activity on
set -g visual-activity off
# Pane management
unbind %
unbind '#'
unbind '-'
bind '|' split-window -h
bind '-' split-window -v
# Return to previous window
bind-key C-b last-window
setw -g mode-keys vi
#setw -g utf8 on
set-option -g mouse on
# Toggle statusbar
set -g status on
bind-key S set-option status