-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
89 lines (64 loc) · 2.61 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
85
86
87
#set -g prefix ^A
#bind a send-prefix
#bind ^a last-window
unbind C-x
set-option -g prefix C-b
bind-key C-b send-prefix
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 yellow
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 -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
bind -n M-S-Left previous-window
bind -n M-S-Right next-window
#bind l select-pane -R
#bind j select-pane -D
#bind k select-pane -U
#bind l select-pane -R
set -g default-terminal "xterm-256color"
set-window-option -g bell-action any
set-window-option -g set-titles on
set-window-option -g visual-bell off
#set -g mouse off
set-window-option -g mode-keys vi
set-window-option -g status-keys vi
#set-window-option -g mode-mouse on
#bind-key C-p previous-history
#bind-key C-n next-history
#bind-key C-x kill-backward-word
#bind-key -n C-l clear-screen
#bind-key -n C-Left send-keys M-b
#bind-key -n C-Right send-keys M-f
# pane movement
bind-key M command-prompt -p "join pane from:" "join-pane -s '%%'"
# bind-key m command-prompt -p "Send pane to window:" "move-pane -s '%%' -t '%%1'"
bind-key m command-prompt -p "Send pane to window:" "move-pane -s :. -t '%%'"
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-resurrect'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'