
set  -g default-terminal "screen"
set  -g base-index      0
setw -g pane-base-index 0

# Use -A to make new-session idempotent: attach if session "0" exists,
# otherwise create it. This prevents duplicate sessions when multiple
# configs (e.g., system and user) both enable newSession.
new-session -A -s 0

bind -N "Split the pane into two, left and right" v split-window -h
bind -N "Split the pane into two, top and bottom" s split-window -v


set -g status-keys emacs
set -g mode-keys   emacs







set  -g mouse             off
set  -g focus-events      off
setw -g aggressive-resize on
setw -g clock-mode-style  24
set  -s escape-time       10
set  -g history-limit     2000

# ============================================= #
# Load plugins with Home Manager                #
# --------------------------------------------- #

# tmuxplugin-logging
# ---------------------

run-shell @tmuxplugin_logging_rtp@


# tmuxplugin-prefix-highlight
# ---------------------

run-shell @tmuxplugin_prefix_highlight_rtp@


# tmuxplugin-fzf-tmux-url
# ---------------------

run-shell @tmuxplugin_fzf_tmux_url_rtp@

# ============================================= #

