I would like to bind a zsh function to the key combo Ctrl+=. I haven't found any working way to do this. If it is possible, I would like to know how.
As far as I can tell, the Ctrl+= keybind is not distinguished from the plain = key. While you could bind it, you would also bind to any regular press of equals.
Binding a function to a key is quite easy. You just need to turn the function into a ZSH Widget first. For example:
You can find the string to put into bindkey by typing ctrl-v and then your desired keystroke. So I can see that Ctrl+e can be represented as
Not all modifiers result in a different bindable key, unfortunately.