use lightline

This commit is contained in:
2020-06-12 00:03:25 +02:00
parent 80e75c58c0
commit 6246384ff1

View File

@@ -1,11 +1,15 @@
if ($TERM=~"xterm-256color" || $TERM=~"screen-256color") if ($TERM=~"xterm-256color" || $TERM=~"screen-256color")
call plug#begin('~/.vim/plugged') call plug#begin('~/.vim/plugged')
Plug 'airblade/vim-gitgutter' Plug 'airblade/vim-gitgutter'
Plug 'itchyny/lightline.vim'
Plug 'romainl/flattened' Plug 'romainl/flattened'
Plug 'tpope/vim-eunuch' Plug 'tpope/vim-eunuch'
call plug#end() call plug#end()
colorscheme flattened_light colorscheme flattened_light
let g:lightline = { 'colorscheme': 'flattened_light' }
set noshowmode
endif endif
filetype plugin indent on filetype plugin indent on
@@ -23,7 +27,6 @@ set number
set printoptions=paper:A4,syntax:n,number:y set printoptions=paper:A4,syntax:n,number:y
set shiftwidth=4 set shiftwidth=4
set showbreak=↪\ set showbreak=↪\
set statusline=[%n]\ %<%f\ %h%w%m%r%=%{&fileencoding?&fileencoding:&encoding}[%{&fileformat}\]\ %y\ %l,%c%V\ %P
set textwidth=120 set textwidth=120
set wrapscan set wrapscan
set path+=** set path+=**
@@ -39,7 +42,6 @@ nnoremap <silent> <Leader>s
\ else <BAR> \ else <BAR>
\ syntax enable <BAR> \ syntax enable <BAR>
\ endif<CR> \ endif<CR>
nnoremap <silent> gB :bp<CR> nnoremap <silent> gB :bp<CR>
nnoremap <silent> gb :bn<CR> nnoremap <silent> gb :bn<CR>