Linux Mastering Development

st terminal + shell vi mode

I use zsh and use vi editing mode. To go up in the history instead of pressing ESC to go to the normal mode and pressing k, I press alt+k which sends the esc character and sends k afterwords (as per my understanding)

It works fine until I start a ssh session, even after closing the session it doesn’t work. Instead, when pressing alt+k it inserts ë character.

Current Understanding:
This is something to do with the terminal and not the shell. However, opening a SSH session changes some runtime property of the terminal which I couldn’t think of.

st git commit: 63776c0962874dfab135a595a765b4d3b5fbcb65 (current master)

Any idea that helps is greatly appreciated.

PS: I have a very little understanding of how the terminals work internally.

Leave a Reply

Your email address will not be published. Required fields are marked *