set -g allow-passthrough on
-# enable true color
-set -ag terminal-overrides ",xterm-256color:Tc"
set -g set-titles on
set -g mouse
set -g mode-keys vi
+# Reduce time to consider Esc+<key> as <Alt+key>
+set -sg escape-time 10
+set -sg extended-keys always
+
# Start windows and panes at 1, not 0
set -g base-index 1
setw -g pane-base-index 1
# moving between windows with vim movement keys
bind-key -r C-h select-window -t :-
bind-key -r C-l select-window -t :+
+bind-key r move-window -r # reorder windows
# resize panes with vim movement keys
bind-key -r H resize-pane -L 5