From e7572320b9d5b1147e10a783475ab116c0d542a4 Mon Sep 17 00:00:00 2001 From: Loic Nageleisen Date: Fri, 3 Dec 2021 15:06:44 +0100 Subject: [PATCH] Revert "Move to lightline" This reverts commit e4a8fedb40f1c50c552d6709483a5e8564e0dacc. --- plugged.vim | 4 ++-- vimrc | 21 ++++++++++----------- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/plugged.vim b/plugged.vim index 9b74d98..008be45 100644 --- a/plugged.vim +++ b/plugged.vim @@ -17,7 +17,6 @@ Plug 'olivertaylor/vacme' "Plug 'ayu-theme/ayu-vim' Plug 'pbrisbin/vim-colors-off' Plug 'ikaros/smpl-vim' -Plug 'fxn/vim-monochrome' " External tool integration Plug 'tpope/vim-bundler' " bundler + gem-ctags @@ -28,7 +27,8 @@ Plug 'jremmen/vim-ripgrep' " rg is the new ag is the new ack Plug 'ciaranm/securemodelines' " safe modelines in files Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } Plug 'junegunn/fzf.vim' -Plug 'itchyny/lightline.vim' +Plug 'vim-airline/vim-airline' +Plug 'vim-airline/vim-airline-themes' Plug 'tpope/vim-vinegar' " enhance netrw Plug 'ervandew/supertab' " completion Plug 'w0rp/ale' " linter checks diff --git a/vimrc b/vimrc index 825b249..39845f7 100644 --- a/vimrc +++ b/vimrc @@ -29,17 +29,16 @@ else set title endif -" Lightline -let g:lightline = { - \ 'colorscheme': 'nord', - \ 'active': { - \ 'left': [ [ 'mode', 'paste' ], - \ [ 'gitbranch', 'readonly', 'filename', 'modified' ] ] - \ }, - \ 'component_function': { - \ 'gitbranch': 'FugitiveHead' - \ }, - \ } +" Airline +let g:airline_theme='raven' +if !exists('g:airline_symbols') + let g:airline_symbols = {} +endif +let g:airline_left_sep='' +let g:airline_right_sep='' +let g:airline_symbols.linenr = '' +let g:airline_symbols.branch = '⎇' +let g:airline_symbols.whitespace = '' " Terminal behavior and appearance if !has('gui_running')