In my .screenrc I have the following stanza:
# Change command key to ctrl+space escape ^@a
I found this magic incantation in a forum I can no longer find; it allows me to hit ctrl+space to invoke screen commands, so
ctrl+space c (or
ctrl+space ctrl+c) will create a new window, and
ctrl+space space (or
ctrl+space ctrl+space) will switch to the last window, etc.
This is very useful in avoiding the problem of precluding the
ctrl+a beginning-of-line terminal functionality, is easy to type and doesn't conflict with any standard keybindings.
Can anyone explain why and how this works? I have searched through https://www.gnu.org/software/screen/manual/screen.html for any reference to the character
@ and found nothing relevant.