Why are my xterm keys not working in OMZ?

Why are my xterm keys not working in OMZ?

So its behavior doesn’t match the xterm terminfo entry, at least for those keys. OMZ currently sets up bindings that rely on the terminfo entry. Eventually OMZ may be able to handle this automatically, but in the mean time you’ll have to configure a workaround.

Why are the home keys not working in mobaxterm?

This causes the cursor keys (up/down/left/right/home/end) to send different character sequences. It’s switched back in to normal/local mode after line editing ends. So the key sequences that showkey is seeing for home and end may not (and usually shouldn’t) be the same ones that the zsh command line editor is seeing.

Why does mobaxterm not send the normal xterm sequences?

OMZ currently sets up bindings that rely on the terminfo entry. Eventually OMZ may be able to handle this automatically, but in the mean time you’ll have to configure a workaround. If you can configure MobaXterm to send the normal xterm sequences, that should fix it. PuTTY does the same thing in one of its configurations.

How to use mobaxterm terminal on CentOS?

I have the latest version of oh-my-zsh installed, along with the plugin ZSH-Syntax-Highlighting. To connect to this machine, I use MobaXTerm (latest version). I connect to the CentOS machine through SSH and present the terminal as being of the “xterm” type (the default option for this SSH client).

How do you find a variable in xterm?

Applications look at the TERM variable, and then search the corresponding database for the value of a certain key, e.g. the left-arrow key, and find the string that corresponds to it. This means that the strings in the database had better correspond to your current xterm settings.

How to check mobaxterm for home and end?

Check that the character sequences MobaXTerm is sending for Home and End match those in the xterm terminfo entry. I grabbed MobaXterm and tried it out.

Why is the Delete key not working in mobaxterm?

However, the DELETE key is set properly. Here’s showkey -a ‘s output when pressing HOME and END by this order in MobaXterm: There’s a catch here: OMZ switches the terminal into “application keypad” mode when the ZLE command line editor is active, using terminfo’s smkx. (This is so it can use portable terminfo-based key bindings.)