# vi-like navigation in status bar
set -g status-keys vi
# vi-like navigation in copy mode
set-window-option -g mode-keys vi
# Navigate between panes using hjkl
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# Resize panes using HJKL
bind H resize-pane -L 10
bind J resize-pane -D 10
bind K resize-pane -U 10
bind L resize-pane -R 10
set -g @plugin 'tmux-plugins/tpm' # Plugin manager
set -g @plugin 'tmux-plugins/tmux-resurrect' # Save /restore session
set -g @resurrect-strategy-nvim 'session' # Resurect Neovim sessions as well
set -g @plugin 'tmux-plugins/tmux-continuum' # Auto-save session
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'