Screen + vim causes shift-enter to insert 'M' and a newline

后端 未结 2 1699
别跟我提以往
别跟我提以往 2021-02-15 10:29

When running a vim instance in gnu screen hitting shift enter in insert mode adds an \'M\' and then a newline, rather than just a newline.

Does anybody know what the pro

2条回答
  •  旧巷少年郎
    2021-02-15 11:14

    Missing info from your question:

    1. Where do you run screen and see this issue? Some terminal app (KTerminal, Gnome terminal, virtual console etc) or remote session (eg putty, ssh from another computer)
    2. do a “echo $TERM” and tell us its output
    3. do a “cat -v”, press Shift-Enter, then Enter, then Ctrl-D and then tell us what is output.

提交回复
热议问题