Under MacOS Sequoya 15 i use xxd
to determine keybindings for current keymode with terminal settings etc
for iterm2 in ~/.zshrc i need:
bindkey '^[[1;9C' forward-word
bindkey '^[[1;9D' backward-word
and for alacrtitty and tmux in default i use
bindkey '^[[1;3C' forward-word
bindkey '^[[1;3D' backward-word