vim: Replace powerline with airline
This commit is contained in:
parent
c62098936c
commit
6b7f7ccadf
15
home/.vimrc
15
home/.vimrc
|
@ -13,6 +13,13 @@ let g:UltiSnipsJumpForwardTrigger = '<tab>'
|
||||||
let g:UltiSnipsJumpBackwardTrigger = '<s-tab>'
|
let g:UltiSnipsJumpBackwardTrigger = '<s-tab>'
|
||||||
Plug 'honza/vim-snippets'
|
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
|
" Syntax highlighting/Language support
|
||||||
Plug 'ElmCast/elm-vim', { 'for': 'elm' }
|
Plug 'ElmCast/elm-vim', { 'for': 'elm' }
|
||||||
Plug 'Glench/Vim-Jinja2-Syntax', { 'for': 'jinja' }
|
Plug 'Glench/Vim-Jinja2-Syntax', { 'for': 'jinja' }
|
||||||
|
@ -40,14 +47,6 @@ command Vtc VimtexCompile
|
||||||
Plug 'altercation/vim-colors-solarized'
|
Plug 'altercation/vim-colors-solarized'
|
||||||
call plug#end()
|
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
|
" Basic display
|
||||||
set number
|
set number
|
||||||
set colorcolumn=80
|
set colorcolumn=80
|
||||||
|
|
Reference in a new issue