Update: While the following should still work (I no longer have access to a Windoze box), pyrospade points out that there is a way to do this directly from within Console2 nowadays. I have no idea if that's accurate but I wanted to point it out. Thanks!
Now, on with the show!
I'm an Emacs/Mac user trapped on Windows at work and I often type Control-W from muscle memory to delete a word and thus by mistake kill the entire window, including everything that I was working on. This a particularly egregious problem for Console2 as I run GNU Screen and am often doing many things at once.
Is there any way to completely disable Control-W or remap it to something that is far harder to type?
Thanks!
Update: The solution I ended up with is the following:
My AutoHotkey configuration now looks like this.
#IfWinNotActive emacs@XXXXXXXXXXXX
^w::Return
#IfWinActive
Cause let's be honest, I was really doing this just because I use emacs. :)