vim: Replace powerline with airline

This commit is contained in:
Simon Bruder 2020-05-17 05:10:11 +02:00
parent c62098936c
commit 6b7f7ccadf
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -13,6 +13,13 @@ let g:UltiSnipsJumpForwardTrigger = '<tab>'
let g:UltiSnipsJumpBackwardTrigger = '<s-tab>'
Plug 'honza/vim-snippets'
" Airline
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
let g:airline_powerline_fonts = 1
let g:airline_solarized_bg='dark'
let g:airline_theme='solarized'
" Syntax highlighting/Language support
Plug 'ElmCast/elm-vim', { 'for': 'elm' }
Plug 'Glench/Vim-Jinja2-Syntax', { 'for': 'jinja' }
@ -40,14 +47,6 @@ command Vtc VimtexCompile
Plug 'altercation/vim-colors-solarized'
call plug#end()
" Powerline
if !has('nvim')
silent! python3 from powerline.vim import setup as powerline_setup
silent! python3 powerline_setup()
silent! python3 del powerline_setup
set laststatus=2 " always show powerline
endif
" Basic display
set number
set colorcolumn=80