How to resolve conflicts between tmux and vim
大家讲道理
大家讲道理 2017-05-16 16:35:34
0
2
869

How to solve the problem that vim cannot use airline under tmux, the buffer of the picture is not highlighted, Google found that it is incompatible with tmux
If I don’t open tmux, the display is normal

.vimrc

Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes'

let g:airline#extensions#tabline#enabled = 1
大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(2)
滿天的星座

Have you changed the terminal type?

黄舟

Possibilities that can be thought of:

Check your terminal configuration first. . Is it only vim 显示不了颜色?别的都正常么?如果其他也不正常,那就去调终端的设置。
vim 里是只有 airline that has a problem? Are there any problems with syntax recognition and highlighting?

  1. Check the .vimrccolor attribute settings

  2. If the above is ok, do it in vim :color 或者 :colorscheme. Press tab and see if anything happens. If you execute it directly, it may be possible to restore them to default (if you have configured the things in the color folder yourself)

  3. If it still doesn’t solve the problem, try reinstalling the plug-in. It is possible that your color pattern cannot be found. So there is no color

If none of the above can be solved. . Try :scriptnames and see if all your scripts are loaded. . Mainly depends on whether the color matching is loaded

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template