I want to disable Insert key completly in zsh. This key has no real use, and only annoys me when I hit it accidentally.
I found how to remove the binding for
bindkey -r "^[[2~"
But now, when I actually hit Insert, instead of activationg overwrite-mode, it prints
~ on the cursor position.
Similar thing happens when I press F12, which is not bound to anything. It also prints
How can I disable the Insert key completely (and F12, as well), so that pressing it does not do anything in zsh?
I don't want to disable Insert key globally, because some other programs may actually use it for useful purpose.