Re: emacs compatibility - changing a default binding?

[email protected] (Henry S. Thompson)
Newsgroups gmane.comp.gnu.screen.user
Message-ID <[email protected]>
Joe Corneli <[email protected]> writes:

>>From looking back at the archives (all the way to 1987), I see that ^A
> has been the default command key for Screen from the beginning.  I
> know that this can be changed on a per-user or even per installation
> basis, but I'm wondering whether that's the best approach, since users
> will become familiar with the universal default.
>
> And yet, the default binding conflicts with the default binding C-a
> for `move-beginning-of-line' in Emacs, which presumably affects many
> users.  Rather than have lots of different workarounds
> (http://emacswiki.org/emacs/GnuScreen#toc1), might it make sense to
> change the default binding?

Hear hear!

> (One of the users on the Emacs Wiki page suggests C-; but notes no
> luck with experiments trying to bind it.)

I have used Meta-A with success for some time:

bindkey "^[a" command
bindkey "^a" stuff b
bindkey "^a" stuff ^a

ht
-- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 650-4587, e-mail: [email protected]
                       URL: http://www.ltg.ed.ac.uk/~ht/
 [mail from me _always_ has a .sig like this -- mail without it is forged spam]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.