As someone who also uses emacs, I type C-a a so often that sometimes I do the same in emacs and it leaves an extra a. It's quite rare though.
As a vim user, this was my attitude about ctrl-b ctrl-b for pgup because tmux uses that. But I got used to it. Like many a screen convert to tmux, I used to map to ctrl-a, but I found myself actually getting pinky/wrist pain from using just my left hand. As a non-emacs user, I'm not okay with that :P So ctrl-b forces me to use two hands.
Re:GNU Screen 5.0 Released
by freedomben on Thursday August 29, 2024 @11:44AM
(#41392025)
C-a C-a definitely annoyed me at first, but I got used to it and now I don't mind it at all.
Yeah maddening! But you can remap it. I use this in my .screenrc to make it C-f:
escape ^Ff
C-f moves forward a character which is also useful. The easiest to type character that had the least impact I could find was to remap to C-j. Works well in both Dvorak and Qwerty layouts and that's the one emacs shortcut I use so infrequently that I can live with having to type it twice.
C-Space here
C-t for me
C-o here. And C-x or C-p on a few rare nested screens in one particular screen session that I always have open. Those are identified by differently colored tabs in the hardstatus bar which is always visible.
Re:GNU Screen 5.0 Released
by PeterWhittaker on Friday August 30, 2024 @08:30AM
(#41400049)
That’s my default as well, worked great, except on a machine with shared sessions, a test driver machine where several of us will login as the same user: some of those people come from windows machines where ctrl-space gets mapped to ctrl-@, which is NUL.
So we had to find another prefix for those machines; fortunately, tmux can have two.
This (space->@->NUL) is mentioned in the tmux docs, tbh.
I map mine to C^] which I find to be a good balance between easy to type and not conflicting with other tools
Re:GNU Screen 5.0 Released
by sam_lowry_ on Thursday August 29, 2024 @01:28PM
(#41393208)
Two hands gesture? No way!
This is actually a very handy readline shortcut to search for a character. Useful when editing long command lines. Granted, I use Ctrl-Shift-] more often (searches backwards).
As someone who uses `set -o emacs` I cannot possibly imagine pressing C-a C-a to go to the beginning of the line
Also, as an iTerm2 user: the integration with tmux control mode (tmux -CC) is just amazing for the way I use tmux