Vim shows garbage characters

后端 未结 2 1293
醉话见心
醉话见心 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.

    0 讨论(0)
  • 2021-02-06 07:49

    I switched to neovim and I've never seen this issue anymore.

    0 讨论(0)
提交回复
热议问题