[vim] Lighten Lightline
This commit is contained in:
parent
cd07963085
commit
2d10c94c57
1 changed files with 2 additions and 22 deletions
24
vimrc
24
vimrc
|
@ -27,28 +27,6 @@ if has("unix") || has("mac")
|
||||||
let g:ale_sign_error = '●'
|
let g:ale_sign_error = '●'
|
||||||
let g:ale_sign_warning = '●'
|
let g:ale_sign_warning = '●'
|
||||||
Plugin 'itchyny/lightline.vim'
|
Plugin 'itchyny/lightline.vim'
|
||||||
let g:lightline = {
|
|
||||||
\ 'active': {
|
|
||||||
\ 'left': [['mode', 'paste'], ['filename', 'modified']],
|
|
||||||
\ 'right': [['lineinfo'],
|
|
||||||
\ ['percent'],
|
|
||||||
\ ['readonly', 'linter_warnings', 'linter_errors', 'linter_ok'],
|
|
||||||
\ ['fileformat'],
|
|
||||||
\ ['fileencoding']
|
|
||||||
\ ]
|
|
||||||
\ },
|
|
||||||
\ 'component_expand': {
|
|
||||||
\ 'linter_warnings': 'LightlineLinterWarnings',
|
|
||||||
\ 'linter_errors': 'LightlineLinterErrors',
|
|
||||||
\ 'linter_ok': 'LightlineLinterOK',
|
|
||||||
\ 'lineinfo': 'LineInfo'
|
|
||||||
\ },
|
|
||||||
\ 'component_type': {
|
|
||||||
\ 'readonly': 'error',
|
|
||||||
\ 'linter_warnings': 'warning',
|
|
||||||
\ 'linter_errors': 'error'
|
|
||||||
\ },
|
|
||||||
\}
|
|
||||||
if executable('ctags')
|
if executable('ctags')
|
||||||
Plugin 'ludovicchabant/vim-gutentags'
|
Plugin 'ludovicchabant/vim-gutentags'
|
||||||
endif
|
endif
|
||||||
|
@ -99,6 +77,8 @@ set modelines=1
|
||||||
set history=200 " keep 200 lines of command line history
|
set history=200 " keep 200 lines of command line history
|
||||||
set ruler " show the cursor position all the time
|
set ruler " show the cursor position all the time
|
||||||
set showcmd " display incomplete commands
|
set showcmd " display incomplete commands
|
||||||
|
set laststatus=2
|
||||||
|
set noshowmode
|
||||||
set wildmenu " display completion matches in a status line
|
set wildmenu " display completion matches in a status line
|
||||||
|
|
||||||
set ttimeout " time out for key codes
|
set ttimeout " time out for key codes
|
||||||
|
|
Loading…
Reference in a new issue