Vim NerdTree corrupts when using Tmux

2020-04-07 09:51发布

As described in the title, the nerdtree just corrupts when I'm scrolling down the screen in vim by "control + f". As shown in screen shot, most of the folder information, supposed to appear in the left bar, is tangled and covered by the file content.

I did find similar issues posted in stackoverflow, but none of those got a good solution yet.

Thanks

1条回答
爷的心禁止访问
2楼-- · 2020-04-07 10:04

Put this into your ~/.bashrc:

export TERM=screen-256color

As you've found out from the tmux FAQ, "most display problems are due to incorrect TERM setting"

查看更多
登录 后发表回答