set-option -g default-shell /bin/zsh
bind - split-window -v -c '#{pane_current_path}'
bind | split-window -h -c '#{pane_current_path}'
set -g base-index 1
#:x
# set -g mouse on
set -g visual-activity on
setw -g mode-keys vi
setw -g monitor-activity on
setw -g pane-base-index 1
setw -g window-status-current-format "#I#F#W "
setw -g window-status-format "#I#F#W "
# pane movement
bind-key J command-prompt -p "join pane from:" "join-pane -s '%%'"
bind-key S command-prompt -p "send pane to:" "join-pane -t '%%'"
# Remap window navigation to vim
unbind-key j
bind-key j select-pane -D
unbind-key k
bind-key k select-pane -U
unbind-key h
bind-key h select-pane -L
unbind-key l
bind-key l select-pane -R
# Set a Ctrl-b shortcut for reloading your tmux config
bind r source-file ~/.tmux.conf
# Rename your terminals
set -g set-titles on
set -g set-titles-string '#(whoami)::#h::#(curl ipecho.net/plain;echo)'
# Status bar customization
set -g status-bg black
set -g status-fg white
set -g status-interval 5
set -g status-left-length 90
set -g status-right-length 60
set -g status-left "#[fg=Green]#(whoami)#[fg=white]::#[fg=Cyan]#(hostname -s)#[fg=white]::#[fg=yellow]#(curl ipecho.net/plain;echo)> "
set -g status-justify left
set -g status-right '#[fg=Cyan]#S #[fg=white]%a %d %b %R'
unbind-key x
bind-key x setw synchronize-panes