Can I remove the ctrl-z key binding in my shell?
- by Nagel
The background for this question: I currently have to do a lot of my work in terminal over ssh, and I use screen quite a bit. Because I found the ctrl-a key binding for screen commands so annoying since I'm accustomed to using ctrl-a to go to the beginning of a line, I changed it to ctrl-z. The only problem with this is that when I'm in Matlab, think I am in Screen but am not, pressing ctrl-z will instantly kill my Matlab session, because ctrl-z is the key binding for suspending processes in *nix.
So the question is: can I remove the key binding for ctrl-z in my shell so that it does no longer suspend a process?
My shell is terminal.app on OSX.