While moving the cursor across a vim process open in a tmux session, every now and then, why does it leave a trail of ghost characters - ^[OB, ^[OA?

后端 未结 4 428
借酒劲吻你
借酒劲吻你 2021-02-04 15:48

These disappear if I do a page-up and page-down. Why does this happen and how do I rectify it?

http://i.stack.imgur.com/DnMYl.png

I recently fiddled around with

4条回答
  •  梦如初夏
    2021-02-04 15:48

    This issue is discussed at length on the Vim Wiki article. There seem to be multiple causes, I personally encountered this issue when running vim under tmux.

    A solution from there that worked for me and seems less hacky than mapping the keys was the following config:

    set term=cons25

提交回复
热议问题