-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtmux.conf
84 lines (63 loc) · 2.38 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
#unbind C-a
#set -g prefix ^A
#bind a send-prefix
unbind C-b
set -g prefix ^A
bind a send-prefix
bind ^a last-window
bind C-p previous-window
bind C-n next-window
set -sg escape-time 0
# colorized Status bar
set-option -g status-bg black
set-option -g status-fg white
set-option -g status-left '#[fg=green] #S#[fg=white]@#[fg=blue]#H#[fg=magenta] >#[fg=cyan]> '
set-option -g status-left-length 50
#set-option -g status-right ''
set-option -g status-right '#[fg=magenta]>#[fg=cyan]> #[fg=green]%_H#[fg=white]:#[fg=green]%M #[fg=white,nobold]Uhr #[fg=yellow]#[fg=magenta]>#[fg=cyan]> #[fg=blue]%Y#[fg=white]-#[fg=blue]%m#[fg=white]-#[fg=blue]%d '
#set-option -g status-right ''
set-window-option -g window-status-style fg=default
set-window-option -g window-status-format '#[fg=yellow]#I#[fg=white]:#[fg=default]#W#[fg=blue]#F'
set-window-option -g window-status-current-style fg=default
set-window-option -g window-status-current-format '#[bold,fg=yellow]#I#[fg=white]:#[bold,fg=green]#W#[fg=yellow]#F'
#set-window-option -g window-status-current-format
# until squeeze
#set-window-option -g window-status-alert-attr none
#set-window-option -g window-status-alert-bg red
#set-window-option -g window-status-alert-fg default
set-window-option -g window-status-bell-style fg=default,bg=red
set-option -g update-environment ""
#set-option -g message-fg black
#set-option -g message-bg green
bind r source-file ~/.tmux.conf
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
set -g default-terminal "screen-256color"
# if tmux version <= 2.5
#set-window-option -g bell-on-alert on
# else if tmux version >= 2.6
set-window-option -g bell-action any
# endif
set-window-option -g set-titles on
set-window-option -g visual-bell off
#set-option -g mouse-resize-pane off
#set-option -g mouse-select-pane off
#set-option -g mouse-select-window off
set-window-option -g mode-keys vi
set-window-option -g status-keys vi
#set-window-option -g mode-mouse on
# pane movement
bind-key M command-prompt -p "join pane from:" "join-pane -s '%%'"
bind-key m command-prompt -p "send pane to:" "join-pane -t '%%'"
bind-key j select-pane -D
bind-key C-j select-pane -D
bind-key h select-pane -L
bind-key C-h select-pane -L
bind-key l select-pane -R
bind-key C-l select-pane -R
bind-key k select-pane -U
bind-key C-k select-pane -U
# new window in same path:
bind c new-window -c "#{pane_current_path}"