-
Notifications
You must be signed in to change notification settings - Fork 4
/
.tmux.conf
executable file
·49 lines (39 loc) · 1.21 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
49
# Make it use C-a, similar to screen..
unbind C-b
unbind l
set -g prefix C-a
bind-key C-a last-window
unbind %
bind | split-window -h
unbind '"'
bind - split-window -v
unbind o
bind-key Tab select-pane -t :.+
# Reload key
bind r source-file ~/.tmux.conf
set -g default-terminal "screen-256color"
set -g history-limit 1000
set-window-option -g xterm-keys on # to make ctrl-arrow, etc. work
# THEME
set -g status-bg colour233
set -g status-fg white
set -g status-interval 60
set -g status-left-length 30
set-option -g pane-active-border-fg colour255
bind r source-file ~/.tmux.conf \; display "Reloaded tmux config file."
set -g status-left '#[fg=green](#S) #(whoami)@#H#[default]'
set -g status-right '#[fg=yellow]#(cut -d " " -f 1-3 /proc/loadavg)#[default] #[fg=blue]%H:%M#[default]'
bind-key a send-prefix
#set -g mode-mouse on
#set -g mouse-select-pane on
# constrain window size to the maximum size of any
# client connected to *that window*
setw -g aggressive-resize on
# auto window rename
set-window-option -g automatic-rename
# clock
set-window-option -g clock-mode-colour green #green
# Allows for faster key repetition
set -s escape-time 0
# disable repetition - number of milliseconds
set-option -g repeat-time 0