When used in uxterm zsh is jumping words when I press ctrl+left
and ctrl+right
.
When used in plain unconfigured byobu (tmux backend) it is not. The cursor sits there doing nothing.
I can however achieve that by using alt+b and alt+f, but I'd really like to use ctrl+arrow in keeping with general system-wide ergonomics.
OK, I found a workaround :
bindkey '^[[1;5D' backward-word
bindkey '^[[1;5C' forward-word
in ~/.zshrc
To find out the arcane key code I had to cat -v
and enter them. Gosh my productivity went up 15%.