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

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

Re: unable to map C-_ to undo in wsl ubuntu emacs


From: Eli Zaretskii
Subject: Re: unable to map C-_ to undo in wsl ubuntu emacs
Date: Mon, 06 Sep 2021 21:37:41 +0300

> From: Sivaram Neelakantan <nsivaram.net@gmail.com>
> Date: Mon, 06 Sep 2021 22:59:29 +0530
> 
> On Mon, Sep 06 2021,Eli Zaretskii wrote:
> 
> >> I've got Emacs-27.2 running in Emacs -nw and when I do C-_, I get RET
> >> which I confirmed by C-h k "RET runs the command newline (found in
> >> global-map)... compiled lisp function in 'simple.el'"
> >
> > What terminal emulator are you using?  Does that terminal emulator
> > have some settings, where perhaps you can configure what it sends
> > given a certain control key?
> 
> This is on MS windows terminal from app store and the settings.json
> has this url https://aka.ms/terminal-profiles-schema and am
> reproducing the actions settngs alone of settings.json.  I searched
> for _ as well as underscore and couldn't see anything that would help
> in identifying the issue in the url above.
> 
>  "actions": 
>     [
>         {
>             "command": 
>             {
>                 "action": "copy",
>                 "singleLine": false
>             },
>             "keys": "ctrl+c"
>         },
>         {
>             "command": "find",
>             "keys": "ctrl+shift+f"
>         },
>         {
>             "command": "paste",
>             "keys": "ctrl+v"
>         },
>         {
>             "command": 
>             {
>                 "action": "splitPane",
>                 "split": "auto",
>                 "splitMode": "duplicate"
>             },
>             "keys": "alt+shift+d"
>         }
>     ],

Could be a real problem with that terminal.  What does "showkey -a"
display for C-_ on that terminal?



reply via email to

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