help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: vterm and Meta?


From: hw
Subject: Re: vterm and Meta?
Date: Wed, 02 Aug 2023 02:45:56 +0200
User-agent: Evolution 3.48.4 (3.48.4-1.fc38)

On Wed, 2023-08-02 at 01:01 +0600, Akib Azmain Turja wrote:
> hw <hw@adminart.net> writes:
> 
> > Hi,
> > 
> > I'm trying out vterm and it turns out that I can't use the ESC key
> > when within a vterm buffer: i. e. I don't have the meta key anymore
> > because that gets sent to the terminal rather than emacs.
> > 
> > According to [1], I could maybe remove the ESC key from vterm-mode-map
> > --- but it seems desirable to be able to use the ESC key for programs
> > that might run in vterm.
> > 
> > How do you deal with this?  Do you use another key for the meta key
> > other programs are less likely to make use of than the ESC key?
> > 
> > 
> > [1]: https://github.com/akermu/emacs-libvterm#shell-side-configuration
> > 
> > 
> 
> I use Eat BTW.

Eat?  Is that another terminal for emacs?

> Eat doesn't bind 'ESC', instead it binds 'ESC ESC' to
> send ESC.  This allows me to send meta-keys.  When I need to send ESC, I
> just press ESC twice.

So do you also need to use ESC as Meta key?

> I believe this can be done in Vterm too.

Perhaps it can ...  It would be easier if I could use Alt instead of
ESC for Meta.  How could I do that?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]