I moved from just using zsh to using zsh inside tmux. As my terminal is iTerm2 for both combinations.
I have the following lines in my .zshrc
to enable jumping words on a bare zsh command line using the ALT+arrow keys:
bindkey '[C' forward-word
bindkey '[D' backward-word
Sadly this is not working inside my tmux session.
How can I jump words back and forth also in tmux using ALT + arrow key?
What I tried so far:
set-window-option -g xterm-keys on
1