2017-06-14 65 views
0

vim-airline插件看起来是这样的: enter image description hereVIM航空公司正确

但在所有屏幕截图,它可能是这样的: enter image description here

这里我Vundle插件列表:

Plugin 'VundleVim/Vundle.vim' 
Plugin 'ctrlpvim/ctrlp.vim' 
Plugin 'scrooloose/nerdtree' 
Plugin 'rking/ag.vim' 
Plugin 'skwp/greplace.vim' 
Plugin 'MarcWeber/vim-addon-mw-utils' 
Plugin 'tomtom/tlib_vim' 
Plugin 'garbas/vim-snipmate' 
Plugin 'tpope/vim-surround' 
Plugin 'StanAngeloff/php.vim' 
Plugin 'arnaud-lb/vim-php-namespace' 
Plugin 'ervandew/supertab' 
Plugin 'stephpy/vim-php-cs-fixer' 
Plugin 'tobyS/vmustache' 
Plugin 'tobyS/pdv' 
Plugin 'SirVer/ultisnips' 
Plugin 'vim-airline/vim-airline' 
Plugin 'vim-airline/vim-airline-themes' 

来自我的.vimrc文件的一些配置,无需插件配置:

set nocompatible 

syntax enable 
set backspace=indent,eol,start 
set number 
let mapleader = ',' 
set noerrorbells visualbell t_vb=   
set autowriteall      
set complete=.,w,b,u      
set tabstop=8 
set expandtab 
set softtabstop=4 
set shiftwidth=4 

"------------Visuals-------------" 
set background=dark 
colorscheme material-theme 
set t_CO=256     
set guifont=Operator\Mono\ weight=350\ 10 
set linespace=10 
set guioptions-=e   

set guioptions-=l   
set guioptions-=L 
set guioptions-=r 
set guioptions-=R 

hi LineNr guibg=bg 
set foldcolumn=2 
hi foldcolumn guibg=bg 

hi vertsplit guifg=bg guibg=bg 

我使用Ubuntu 16.04,尝试使用gVim和终端vim,一样。

我尝试评论所有视觉配置像主题,guifonr,但结果相同。

+1

听说那些* -lines需要一些字体补丁。你有没有做过这一步? – Kent

+0

@Kent是的,这是一个问题,我没有找到我的字体运营商,但它的工作原理,谢谢。 –

回答

0

我安装powerline/fonts(感谢@Kent)和之后的命令:

# clone 
git clone https://github.com/powerline/fonts.git 
# install 
cd fonts 
./install.sh 
# clean-up a bit 
cd .. 
rm -rf fonts 

我的状态看起来更好,但不理想,我认为这s because I didn吨找到我在仓库字体,但它`尼特大问题。

现在我的板是这样的: sample