]> src.twobees.de Git - dotfiles.git/blob - stow/tmux/.tmux.conf
...
[dotfiles.git] / stow / tmux / .tmux.conf
1 set -g mouse on
2 set -g history-limit 10000
3
4 # use vimmode
5 setw -g mode-keys vi
6
7 # key bindings for horizontal and vertical panes
8 unbind %
9 bind | split-window -h
10 bind - split-window -v
11
12 # move between panes like vim does:
13 bind h select-pane -L
14 bind j select-pane -D
15 bind k select-pane -U
16 bind l select-pane -R
17
18 bind S set synchronize-panes
19 #
20 #urxvt tab like window switching (-n: no prior escape seq)
21 bind -n C-S-down new-window
22 bind -n C-S-left prev
23 bind -n C-S-right next
24 bind -n C-left swap-window -t -1
25 bind -n C-right swap-window -t +1
26
27 # enable window titles
28 set -g set-titles on
29
30 # bind to reload config
31 bind r source-file ~/.tmux.conf
32
33 # Notifying if other windows has activities
34 setw -g monitor-activity on
35 set -g visual-activity on
36
37 # das verhindert irgendwie, das die shelleingabe kaputt geht 
38 # nachdem "t /var/log/irgendwas" mit Ctrl-C abgrebrochen wurde
39 set -g default-command "${SHELL}"
40
41 set-option -g detach-on-destroy off
42
43 # panes
44 set -g pane-border-style        'bg=colour235 fg=colour241'
45 set -g pane-active-border-style 'bg=colour235 fg=green'
46
47 # statusbar
48 set -g status-position bottom
49 set -g status-justify left
50
51 setw -g status-style "default"
52 setw -g status-style "bg=colour239 fg=white"
53 set -g status-left ' '
54 set -g window-status-separator " "
55 set -g status-right '#[fg=black,bg=white] %d.%m.%Y %H:%M:%S '
56 set -g window-status-format                                '[#I: #T/#W]'
57 set -g window-status-current-format '#[fg=black,bg=green] ðŸ‘‰[#I: #T/#W]👈 '