do remote ssh connection in my tmux terminal (zsh) and remote shell is also zSH.
[devops@postgres-prod]~% vi /var/lib/pgsql/9.6/etc/postgresql.conf^A0A^A^A^E^A
So it doesn't react on Ctrl+A, Ctrl+E
do remote ssh connection in my tmux terminal (zsh) and remote shell is also zSH.
[devops@postgres-prod]~% vi /var/lib/pgsql/9.6/etc/postgresql.conf^A0A^A^A^E^A
So it doesn't react on Ctrl+A, Ctrl+E
Okay found what was the problem.
I had 'vim' mode zsh enabled by default for some reason.
I had to put the following into ~/.zshrc
https://dougblack.io/words/zsh-vi-mode.html
Now everything works as expected.
You can keep using vim mode in zsh. I used these bindkey in .zshrc to fix the issue:
You may find other settings also helpful: