-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
69 lines (58 loc) · 2.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
bind r source-file ~/.tmux.conf # Easy reload of tmux config.
# Quick access to 12 different windows.
bind -n F1 select-window -t 1
bind -n F2 select-window -t 2
bind -n F3 select-window -t 3
bind -n F4 select-window -t 4
bind -n F5 select-window -t 5
bind -n F6 select-window -t 6
bind -n F7 select-window -t 7
bind -n F8 select-window -t 8
bind -n F9 select-window -t 9
bind -n F10 select-window -t 10
bind -n F11 select-window -t 11
bind -n F12 select-window -t 12
# Easy access to pane navigation keys.
bind k selectp -U # switch to panel Up
bind j selectp -D # switch to panel Down
bind h selectp -L # switch to panel Left
bind l selectp -R # switch to panel Right
set -g default-terminal "tmux-256color"
set-option -g allow-rename off # No renaming of windows automatically.
set -g mouse on # Enable mouse mode (tmux 2.1 and above)
set -g update-environment 'DISPLAY SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY TERM'
#set -g default-shell /bin/zsh
#set -g default-command 'zsh'
set -g status on
set -g pane-base-index 1
set -g base-index 1
set -g set-titles on
set -g aggressive-resize on
set-option -g set-titles-string '#{pane_current_command}'
set-option -g history-limit 5000
set-option -g visual-activity on
set-option -g status-position bottom
set-option -g renumber-windows on
# loud or quiet?
set-option -g visual-activity off
set-option -g visual-bell off
set-option -g visual-silence off
set-window-option -g monitor-activity off
set-option -g bell-action none
# panes
set -g pane-border-style 'fg=colour23,bg=default'
set -g pane-active-border-style 'fg=colour6,bg=default'
# The modes
setw -g clock-mode-colour colour135
# The statusbar
set -g status-justify left
set -g status-interval 2
set -g status-position bottom
set -g status-bg colour236
set -g status-fg colour250
set -g status-left ' '
set -g status-right-length 50
set -g status-left-length 20
set -g status-right '#[bg=colour238,fg=colour244,bold] %Y-%m-%d #[bg=colour240,fg=colour246] %H:%M #[bg=default] '
setw -g window-status-format '#[bg=colour238,bold] #[fg=colour130]#I#[fg=colour244]:#[fg=colour248]#W#[fg=colour130]#F '
setw -g window-status-current-format '#[bg=colour240,bold] #[fg=colour43]#I#[fg=colour246]:#[fg=colour250]#W#[fg=colour43]#F '