8
5
I would like to have a good guide to the common Control key combinations in use in bash (and similar) shells and the combinations used by common programs in use in those shells.
My particular motivation is to be able to run GNU screen on one computer, ssh to a second computer and use screen and irssi on that computer. So I need to use something other than Ctrl-A to control one of the screen sessions. So I need to know what are Control key combinations are safe to use.
But I imagine this list would be useful for others who want to bind custom actions to Control key combinations.
I reckon we'd be best to group the Control key combinations by application (eg. bash itself, screen, vim, emacs), to make it easy to spot the applications you use or can ignore. So please one application per answer - hope that works.
2To address your particular motivation, I would discourage running screen-within-screen if you can avoid it: why do you want to use screen to maintain an ssh connection to another screen session? The point of screen is to allow ssh to close without losing your active program. I would suggest to just ssh to the second computer in a separate terminal.
If you do have to do it (I have done so in the past), I find there is actually less cognitive load if I simply leave the default key bindings alone. You're forced to be conscious of when you're in the inner screen anyway. – Zac Thompson – 2010-03-20T18:52:47.340