# split panes using | and - bind | split-window -h bind - split-window -v unbind '"' unbind % # History set -g history-limit 10000 # Terminal emulator window title set -g set-titles on set -g set-titles-string '[#S:#I.#H] #W' # Status Bar set-option -g status-bg white set-option -g status-fg black # Notifying if other windows has activities setw -g monitor-activity off set -g visual-activity on # Clock setw -g clock-mode-colour green setw -g clock-mode-style 24 # make scrolling with wheels work bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'select-pane -t=; copy-mode -e; send-keys -M'" # Mouse Support setw -g mouse # Add SSH_TTY to the list of environment variables tmux knows about: set-option -g update-environment "DISPLAY SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY SSH_TTY" # Assume terminals want 256 colors set-option -g default-terminal screen-256color # Colors # Status bar has a dim gray background set-option -g status-bg black set-option -g status-fg colour74 # Left shows the session name, in blue set-option -g status-left-bg default set-option -g status-left-fg colour74 # Right is some CPU stats, so terminal green set-option -g status-right-bg default set-option -g status-right-fg black set -g status-right "Impossible is a State of Mind" # statusbar set -g status-position bottom set -g status-justify left set -g status-style 'bg=colour219 fg=colour137' set -g status-left '#[fg=colour233,bg=colour219] %d/%m #[fg=colour233,bg=colour8] %H:%M:%S ' set -g status-right-length 50 set -g status-left-length 20 setw -g window-status-current-style 'fg=colour1 bg=colour219 bold' setw -g window-status-current-format ' #I#[fg=colour249]:#[fg=colour255]#W#[fg=colour249]#F ' setw -g window-status-style 'fg=colour9 bg=colour219' setw -g window-status-format ' #I#[fg=colour237]:#[fg=colour250]#W#[fg=colour244]#F ' setw -g window-status-bell-style 'fg=colour255 bg=colour1 bold' # Highlighting the active window in status bar setw -g window-status-current-bg colour234 setw -g window-status-current-fg colour71 # zsh set-option -g default-shell ${SHELL} set-option -g default-shell /bin/zsh new-session