From 4af51b8ea1e2bec1b73c1dcde4b233e6a2c0bc2f Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Tue, 27 Nov 2018 08:52:12 +0100 Subject: [PATCH] Replaced airline with lightline --- vim/vimrc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/vim/vimrc b/vim/vimrc index 3a925f1..4bf34ef 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -15,8 +15,7 @@ call plug#begin('~/.vim/vim-plug') Plug 'valloric/youcompleteme', { 'do': './install.py --clang-completer' } Plug 'rhysd/vim-clang-format' Plug 'derekwyatt/vim-fswitch' -Plug 'vim-airline/vim-airline' -Plug 'vim-airline/vim-airline-themes' +Plug 'itchyny/lightline.vim' Plug 'ambv/black' Plug 'altercation/vim-colors-solarized' Plug 'craigemery/vim-autotag' @@ -30,6 +29,9 @@ call plug#end() set tabstop=4 set shiftwidth=4 +" dark theme +set background=dark + " line numbers set number @@ -46,9 +48,8 @@ let g:ycm_autoclose_preview_window_after_completion = 1 nmap :YcmCompleter GoTo -" vim-airline config -let g:airline#extensions#whitespace#mixed_indent_algo = 2 -let g:airline_solarized_bg='dark' +" lightline config +let g:lightline = { 'colorscheme': 'solarized' } " Black config autocmd BufWritePre *.py execute ':Black' @@ -57,7 +58,6 @@ autocmd BufWritePre *.py execute ':Black' nmap o :FSHere " vim-colors-solarized -set background=dark colorscheme solarized " fzf.vim