Zsh Keyboard Shortcuts – Fix Ctrl + Left/Right Arrow Keys Issue

gentookeyboard shortcutszsh

After the last system update the ctrl + left/right arrow command on zsh terminal doesn't do anything. Also ctrl+ u has something wrong because usually that command erase from the cursor to the beginning of the line, while now erase entire line..
Someone knows how to solve these problems?
thank you all.

Best Answer

FWIW, this is what worked on my environment (rhel5.x) using zsh's default.

bindkey "^[[1;5C" forward-word
bindkey "^[[1;5D" backward-word
Related Question