-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
61 lines (56 loc) · 2.2 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
# change default Ctrl-b to Ctrl-a
unbind C-b
set -g prefix C-a
# Ctrl-a a to the beggining of line
bind-key a send-prefix
bind C-a send-prefix
# Ctrl-a k kills window
bind-key k confirm kill-window
# Ctrl-a K kills tmux
bind-key K confirm kill-server
# Make `Ctrl+a r` reload the config file
unbind r
bind r source-file ~/.tmux.conf
set -g bell-action any
set -g base-index 1
set -g renumber-windows on
# for 2.1
set -g mouse on
bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'select-pane -t=; copy-mode -e; send-keys -M'"
unbind ^D
bind ^D detach
unbind A
bind A command-prompt "rename-window %%"
unbind ^L
bind ^L refresh-client
unbind l
bind l refresh-client
unbind escape
bind escape copy-mode
set-option -g history-limit 100000
set -g default-terminal "screen-256color"
set -g status-style bg="colour8"
set -g message-command-style bg="colour8"
set -g status-justify "left"
set -g status-left-length "100"
set -g status "on"
set -g pane-active-border-style bg="colour11"
set -g message-style bg="colour14"
set -g status-right-length "100"
set -g status-right-style "none"
set -g message-style bg="colour8"
set -g message-command-style bg="colour14"
set -g status-style "none"
set -g pane-border-style bg="colour14"
set -g status-left-style "none"
setw -g window-status-style bg="colour14"
setw -g window-status-style "none"
setw -g window-status-activity-style bg="colour8"
setw -g window-status-activity-style "none"
setw -g window-status-activity-style bg="colour11"
setw -g window-status-separator ""
setw -g window-status-style bg="colour8"
set -g status-left "#[fg=colour8,bg=colour11,bold] #S #[fg=colour11,bg=colour8,nobold,nounderscore,noitalics]"
set -g status-right "#[fg=colour14,bg=colour8,nobold,nounderscore,noitalics]#[fg=colour8,bg=colour14] %H:%M #[fg=colour11,bg=colour14,nobold,nounderscore,noitalics]#[fg=colour8,bg=colour11] #h "
setw -g window-status-format "#[fg=colour14,bg=colour8] #I #[fg=colour14,bg=colour8] #W "
setw -g window-status-current-format "#[fg=colour8,bg=colour14,nobold,nounderscore,noitalics]#[fg=colour8,bg=colour14] #I #[fg=colour8,bg=colour14] #W #[fg=colour14,bg=colour8,nobold,nounderscore,noitalics]"