# Add mouse support set -g mouse on # Set default shell to zsh set-option -g default-shell /bin/zsh # Set prefix to tilda set-option -g prefix \` bind ` send-prefix # Reload this config fie with tilda+r bind r source-file ~/.tmux.conf # Start counting windows at 1 instead of 0. Re-index windows on close so they're always successive set -g base-index 1 set -g renumber-windows on #################### ## THEME & LAYOUT ## #################### ## Status bar (tabbar) setw -g window-status-separator '' setw -g window-status-current-style "bg=colour4 fg=#cccccc,bold" setw -g window-status-style "bg=#777777 fg=#333333,bold" set -g status-bg "#333333" # Cannot figure out a way to rewrite this into a single 'style' line set -g status-fg "#cccccc" set -g window-status-format "#{?#{==:#{window_index},1},, } #I≡#{window_name} #{?window_end_flag,#[bg=#777777 fg=#333333] 🭨,#[bg=#777777 fg=#333333] 🮥}" set -g window-status-current-format "#{?#{==:#{window_index},1},#[fg=colour4 bg=#aaaaaa]🭨#[bg=colour4] ,#[fg=colour4 bg=#777777] 🭨}#[fg=#cccccc bg=colour4]#I≡#{window_name} #{?window_end_flag,#[bg=colour4 fg=#333333] 🭨,#[bg=colour4 fg=#777777]🭨#[fg=#333333 bg=#777777]🮥}" ## Add a top border to every pane. Helps identify active pane and looks more obvious in general set -g pane-border-status top #set -g pane-border-format " [#{pane_current_command}] - #{pane_current_path} " set -g pane-border-format "" # We don't need fancy titles with zsh ## Pane borders set -g pane-active-border-style "bg=default fg=#aaaaaa" set -g pane-border-style "bg=default fg=#666666" set -g pane-border-lines heavy ## Put a nice looking clock on the right, remove window title. set -g status-right "#[fg=#333333 bg=#777777,bold]🭪#[fg=#333333 bg=#777777] %H:%M #[fg=#777777 bg=#999999]🭪#[fg=#333333 bg=#999999] %d-%b-%y " set -g status-left "#[bg=#aaaaaa,fg=#333333,bold] #{session_name} #{?#{==:#{window_index},1},,#[fg=#777777 bg=#aaaaaa]🭨}" #set -g status-left "#[bg=#aaaaaa,fg=#333333,bold] #{session_name}" # set -g window-active-style 'bg=black'# We don't need this with the pane titles (make active pane more black) set -g status-justify left