|
From: | Thibaut Verron |
Subject: | Re: vterm and Meta? |
Date: | Tue, 1 Aug 2023 14:12:10 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 |
Hi, Are you using emacs in a terminal?If not, Meta is usually bound to a modifier key (afaik by default the one immediately left of the space bar, e.g. alt on PC keyboards), and that works in vterm.
If you don't usually run programs using the Esc key in vterm, you can unbind it and send it with vterm-send-next-key when necessary.
Best wishes, Thibaut On 01/08/2023 13:55, hw wrote:
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
[Prev in Thread] | Current Thread | [Next in Thread] |