set -g mouse on set -g history-limit 10000 # use vimmode setw -g mode-keys vi # key bindings for horizontal and vertical panes unbind % bind | split-window -h bind - split-window -v # move between panes like vim does: bind h select-pane -L bind j select-pane -D bind k select-pane -U bind l select-pane -R bind S set synchronize-panes # #urxvt tab like window switching (-n: no prior escape seq) bind -n C-S-down new-window bind -n C-S-left prev bind -n C-S-right next bind -n C-left swap-window -t -1 bind -n C-right swap-window -t +1 # enable window titles set -g set-titles on # bind to reload config bind r source-file ~/.tmux.conf # Notifying if other windows has activities setw -g monitor-activity on set -g visual-activity on # das verhindert irgendwie, das die shelleingabe kaputt geht # nachdem "t /var/log/irgendwas" mit Ctrl-C abgrebrochen wurde set -g default-command "${SHELL}" set-option -g detach-on-destroy off # panes set -g pane-border-style 'bg=colour235 fg=colour241' set -g pane-active-border-style 'bg=colour235 fg=green' # statusbar set -g status-position bottom set -g status-justify left setw -g status-style "default" setw -g status-style "bg=colour239 fg=white" set -g status-left ' ' set -g window-status-separator " " set -g status-right '#[fg=black,bg=white] %d.%m.%Y %H:%M:%S ' set -g window-status-format '[#I: #T/#W]' set -g window-status-current-format '#[fg=black,bg=green] 👉[#I: #T/#W]👈 '