k-vim配置 github


作用: 状态栏增强展示

github:vim-airline

之前用过powline, 最终切到airline

安装

Bundle 'bling/vim-airline'

使用

状态栏增强, 集成支持ctrlp/nerdtree/tagbar等一些列插件features

airline.png

airline_1.png airline_2.png

最终配置

Bundle 'bling/vim-airline'
if !exists('g:airline_symbols')
let g:airline_symbols = {}
endif
let g:airline_left_sep = '▶'
let g:airline_left_alt_sep = '❯'
let g:airline_right_sep = '◀'
let g:airline_right_alt_sep = '❮'
let g:airline_symbols.linenr = '¶'
let g:airline_symbols.branch = '⎇'

" 是否打开tabline
" let g:airline#extensions#tabline#enabled = 1