From 45bc5b8fba4600921154dd55ee9a65af7863f5cf Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Sun, 28 Oct 2018 10:35:03 +0100 Subject: vim: use lightline instead of airline --- .gitmodules | 3 +++ vim/.vim/bundle/airline | 1 - vim/.vim/bundle/lightline | 1 + vim/.vimrc | 17 +++++++---------- 4 files changed, 11 insertions(+), 11 deletions(-) delete mode 160000 vim/.vim/bundle/airline create mode 160000 vim/.vim/bundle/lightline diff --git a/.gitmodules b/.gitmodules index 00b35e2..21b7222 100644 --- a/.gitmodules +++ b/.gitmodules @@ -31,3 +31,6 @@ [submodule "urxvt/.urxvt/urxvt-tabbedex"] path = by_os/Linux/urxvt/.urxvt/urxvt-tabbedex url = git://github.com/stepb/urxvt-tabbedex.git +[submodule "vim/.vim/bundle/lightline"] + path = vim/.vim/bundle/lightline + url = https://github.com/itchyny/lightline.vim diff --git a/vim/.vim/bundle/airline b/vim/.vim/bundle/airline deleted file mode 160000 index 1dc8eac..0000000 --- a/vim/.vim/bundle/airline +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 1dc8eac3d232bdcc7941deb47f300ac79e344873 diff --git a/vim/.vim/bundle/lightline b/vim/.vim/bundle/lightline new file mode 160000 index 0000000..47765c7 --- /dev/null +++ b/vim/.vim/bundle/lightline @@ -0,0 +1 @@ +Subproject commit 47765c787ddc981c2eab6105ade84067d164893c diff --git a/vim/.vimrc b/vim/.vimrc index 9444378..dd58d59 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -46,7 +46,7 @@ set spellfile=$HOME/.vim/spell/en.utf-8.add set nospell " color -if $TERM =~ "^rxvt" || $TERM =~ "256color$" +if $TERM =~ "256color$" set t_Co=256 colorscheme pks256 else @@ -66,17 +66,14 @@ nnoremap :w nmap :TagbarToggle imap ^L [s1z=`]a - " cursorline -" autocmd InsertEnter * setlocal cursorline -" autocmd InsertLeave * setlocal nocursorline +autocmd InsertEnter * setlocal cursorline +autocmd InsertLeave * setlocal nocursorline -" airline -let g:airline_theme = 'pks256' -let g:airline_powerline_fonts = 1 -let g:airline#extensions#branch#enabled = 1 -let g:airline_symbols = {} -let g:airline_symbols.whitespace = 'Ξ' +" lightline +let g:lightline = { + \ 'colorscheme': 'landscape', + \ } " tagbar let g:tagbar_compact = 1 -- cgit v1.2.3