-
Notifications
You must be signed in to change notification settings - Fork 1
/
.tmux.conf
44 lines (37 loc) · 1.23 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
# Change prefix to C-a.
set -g prefix C-a
unbind-key C-b
bind-key a send-prefix
# Custom key-bindings.
bind R source-file ~/.tmux.conf \; display-message "Config reloaded..."
bind -n F1 previous-window
bind -n F2 next-window
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'pbcopy'
# Store more history.
set -g history-limit 100000
# Options
#set -sg escape-time 50 # Speed up vim bindings.
set -g base-index 1 # Start numbering buffers with 1.
set -g default-terminal screen-256color
set -g lock-command vlock
set -g renumber-windows
setw -g xterm-keys on # to make ctrl-arrow, etc. work (what does this do?)
set -g set-titles on
set -g set-titles-string '[#S:#I #H] #W' # use screen title
setw -g allow-rename off
setw -g automatic-rename off
# Force Vi(m)-like default keybidings
setw -g mode-keys vi
setw -g status-keys vi
## STATUS BAR
set -g status-left '#H::#(whoami)'
set -g status-left-length 25
set -g status-right '%H:%M %Y.%m.%d'
set -g status-left-length 25
set -g window-status-current-format '#I:#W#F'
set -g window-status-format '#I:#W#F'
# Colors.
set -g status-style bg=black,fg=white
setw -g window-status-current-style bg=blue,fg=white
set -g status-left-style fg=colour10
set -g status-right-style fg=colour10