# remap prefix from 'C-b' to 'C-a' unbind C-b set-option -g prefix C-a bind-key C-a send-prefix #global options set-option -g status-position bottom setw -g clock-mode-style 24 set -g history-limit 10000 setw -g monitor-activity on set -g visual-activity on set-option -g allow-rename off set-option -ga terminal-overrides ',*:enacs@:smacs@:rmacs@:acsc@' setw -g mouse off set -g mouse on #set color set -g default-terminal "screen-256color" #syn all panes with S bind-key s set-window-option synchonize-panes #reload config bind r source-file ~/.tmux.conf #theme options set -g status-bg black set -g status-fg white set -g status-interval 60 set -g status-left-length 100 set -g status-left ' #[fg=cyan] [%d/%m/%Y]#[default] - #[fg=yellow]#(curl -s https://omvs.de/ip/)#[default] - #[fg=green]#(whoami) @ #H#[default] :' WEATHER='#(curl -s wttr.in/Ebersberg\?format\="%%l:+%%c%%20%%t%%60%%w&period=60")' set -g status-right "$WEATHER " #set -g window-status-current-bg red #key-bindings bind-key -n F5 select-pane -L bind-key -n F6 select-pane -R bind-key -n F7 previous-window bind-key -n F8 next-window bind-key j select-pane -D bind-key k select-pane -U bind - split-window -v -c "#{pane_current_path}" bind / split-window -h -c "#{pane_current_path}" unbind '"' unbind %