Hello. I'm currently using zsh terminal in my environment. I'm using hot keys to navigate inside it. The most usable keys for me is to move caret between words. move caret ahead is "option+right arrow" and move caret behind "option+left arrow". This keys work perfect in editor.

But when i open terminal in Rider. And try to navigate between words instead of move caret to next or previous word it types "D" instead of move caret to the previous word and types "C" instead of move to the next word. How to fix it?