Vim shows garbage characters

后端 未结 2 1356
醉话见心
醉话见心 2021-02-06 07:30

When I start vim with one of these plugins:

  • TagBar
  • Session

I see sometimes garbage characters in the buffer when I open vim.

Here a

2条回答
  •  终归单人心
    2021-02-06 07:46

    Vim asks the terminal for its version, what you're seeing is the response (cp. :help v:termresponse). It only appears printed in the terminal; that's why you can't "edit" it and it appears after a redraw.

    Why Vim doesn't properly receive it, I don't know. Switching the terminal program might help. You could also try to suppress the query via :set t_RV= in your ~/.vimrc.

提交回复
热议问题