How to add custom keyboard commands/shortcuts to Mate-terminal?

Hi, @mate2go. Any script can run in a terminal. Here's an old one that allows me to hit a hotkey and switch text wrapping in Pluma.

Is that what you mean?