Move to lightline

This commit is contained in:
Loic Nageleisen 2021-12-03 15:06:20 +01:00
parent 34189a325b
commit e4a8fedb40
Signed by: lloeki
GPG key ID: 971B4D9F125CD31E
2 changed files with 13 additions and 12 deletions

View file

@ -17,6 +17,7 @@ Plug 'olivertaylor/vacme'
"Plug 'ayu-theme/ayu-vim' "Plug 'ayu-theme/ayu-vim'
Plug 'pbrisbin/vim-colors-off' Plug 'pbrisbin/vim-colors-off'
Plug 'ikaros/smpl-vim' Plug 'ikaros/smpl-vim'
Plug 'fxn/vim-monochrome'
" External tool integration " External tool integration
Plug 'tpope/vim-bundler' " bundler + gem-ctags Plug 'tpope/vim-bundler' " bundler + gem-ctags
@ -27,8 +28,7 @@ Plug 'jremmen/vim-ripgrep' " rg is the new ag is the new ack
Plug 'ciaranm/securemodelines' " safe modelines in files Plug 'ciaranm/securemodelines' " safe modelines in files
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim' Plug 'junegunn/fzf.vim'
Plug 'vim-airline/vim-airline' Plug 'itchyny/lightline.vim'
Plug 'vim-airline/vim-airline-themes'
Plug 'tpope/vim-vinegar' " enhance netrw Plug 'tpope/vim-vinegar' " enhance netrw
Plug 'ervandew/supertab' " completion Plug 'ervandew/supertab' " completion
Plug 'w0rp/ale' " linter checks Plug 'w0rp/ale' " linter checks

21
vimrc
View file

@ -29,16 +29,17 @@ else
set title set title
endif endif
" Airline " Lightline
let g:airline_theme='raven' let g:lightline = {
if !exists('g:airline_symbols') \ 'colorscheme': 'nord',
let g:airline_symbols = {} \ 'active': {
endif \ 'left': [ [ 'mode', 'paste' ],
let g:airline_left_sep='' \ [ 'gitbranch', 'readonly', 'filename', 'modified' ] ]
let g:airline_right_sep='' \ },
let g:airline_symbols.linenr = '' \ 'component_function': {
let g:airline_symbols.branch = '⎇' \ 'gitbranch': 'FugitiveHead'
let g:airline_symbols.whitespace = '' \ },
\ }
" Terminal behavior and appearance " Terminal behavior and appearance
if !has('gui_running') if !has('gui_running')