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