mirror of
https://github.com/lloeki/vimfiles.git
synced 2025-12-06 05:24:39 +01:00
Move to lightline
This commit is contained in:
parent
34189a325b
commit
e4a8fedb40
2 changed files with 13 additions and 12 deletions
21
vimrc
21
vimrc
|
|
@ -29,16 +29,17 @@ else
|
|||
set title
|
||||
endif
|
||||
|
||||
" 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 = ''
|
||||
" Lightline
|
||||
let g:lightline = {
|
||||
\ 'colorscheme': 'nord',
|
||||
\ 'active': {
|
||||
\ 'left': [ [ 'mode', 'paste' ],
|
||||
\ [ 'gitbranch', 'readonly', 'filename', 'modified' ] ]
|
||||
\ },
|
||||
\ 'component_function': {
|
||||
\ 'gitbranch': 'FugitiveHead'
|
||||
\ },
|
||||
\ }
|
||||
|
||||
" Terminal behavior and appearance
|
||||
if !has('gui_running')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue