Andrew,
Don't do it man. Don't remap screen key sequences.
I had the same issue. This is how I ultimately solved it. I mentally trained myself to think of screen as a room that I need to do a Ctrl-A in order to get in there.
So, for bash, It is NOT a big deal anyway. Train your fingers to do a Ctrl-A then a
It is just one extra keystroke.
I got used to it within a week.
-George On 10/30/15 7:13 AM, Scott Robbins wrote:
On Fri, Oct 30, 2015 at 10:53:29AM +0100, Andrew Holway wrote:
Hey
I like to use Ctrl+A and Ctrl+E a lot to navigate my insane big bash one liners but this is incompatible with Screen which has a binding to Ctrl-A. Is it possible to move the screen binding so I can have the best of both worlds?
If you only make simple use of screen, then there's always tmux. It uses ctl+b by default, and one of the reasons is the issue you mention.
(If you have a lot of complex uses of screen, then it becomes a bigger deal to learn the new keyboard shortcuts, but many people just use it's attach and deteach feature, and relearning those in tmux takes a few minutes.)
If you are interested in trying it, I have my own very simple page with links to a better page at http://srobb.net/screentmux.html