-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
50 lines (36 loc) · 1.09 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
50
unbind C-b
set -g prefix C-z
bind-key z send-prefix
set -g base-index 1
set-option -g history-limit 20000
set-option -g default-path "~/"
unbind C-z
unbind l
bind-key C-z last-window
unbind ,
bind-key A command-prompt -I "rename-window "
unbind r
bind-key r source-file ~/.tmux.conf
unbind %
unbind -
bind-key | split-window -h
bind-key - split-window -v
unbind '"'
unbind w
bind-key '"' choose-window
unbind &
bind-key k confirm-before -p "kill-window #W? (y/n)" kill-window
## http://www.mail-archive.com/[email protected]/msg02191.html
#set-window-option -g xterm-keys
#set -g default-terminal xterm-screen-256color
set -g default-terminal screen-256color
setw -g xterm-keys on
set -g status-bg black
set -g status-fg white
set -g status-interval 60
set -g status-left-length 30
#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]'
set -g status-right '#[fg=yellow]@#h#[default] #[fg=red]%H:%M#[default]'
set-window-option -g window-status-current-bg cyan
## the end;