statusline highlighting tweaked
This commit is contained in:
parent
b39c8f3702
commit
6e403040ea
13
vimrc
13
vimrc
|
@ -213,8 +213,10 @@ set incsearch
|
|||
|
||||
|
||||
" statusline format
|
||||
set statusline=%#StatusLineFile#
|
||||
set statusline+=\ \ \ %t\ " filename
|
||||
set statusline=%#LineNr#
|
||||
set statusline+=\ \ \
|
||||
set statusline+=%#StatusLineFile#
|
||||
set statusline+=\ \ %t\ \ " filename
|
||||
set statusline+=%*
|
||||
set statusline+=%q " quickfix/location list flag
|
||||
set statusline+=%h " help file flag
|
||||
|
@ -226,11 +228,11 @@ set statusline+=\
|
|||
set statusline+=%*
|
||||
set statusline+=\ %{strlen(&ft)?&ft:'none'}, " filetype
|
||||
set statusline+=%{strlen(&fenc)?&fenc:&enc}, " encoding
|
||||
set statusline+=%{&fileformat}\ " file format
|
||||
set statusline+=%{&fileformat}\
|
||||
set statusline+=%#StatusLineNC#
|
||||
set statusline+=\
|
||||
set statusline+=%*
|
||||
set statusline+=\ %{&spelllang}\ " Spell language
|
||||
set statusline+=\ %{&spelllang}\
|
||||
set statusline+=%#StatusLineNC#
|
||||
set statusline+=\
|
||||
set statusline+=%*
|
||||
|
@ -240,7 +242,7 @@ set statusline+=%= " left/right separator
|
|||
set statusline+=%#StatusLineNC#
|
||||
set statusline+=\
|
||||
set statusline+=%*
|
||||
set statusline+=\ %{v:register}\ " active register
|
||||
set statusline+=\ %{v:register}\
|
||||
set statusline+=%#StatusLineNC#
|
||||
set statusline+=\
|
||||
set statusline+=%*
|
||||
|
@ -253,7 +255,6 @@ set statusline+=%#InterfaceNormalDark#
|
|||
set statusline+=\ %P\ " percentage through file
|
||||
set statusline+=%*
|
||||
|
||||
" always show statusline
|
||||
set laststatus=2
|
||||
|
||||
set foldmethod=manual
|
||||
|
|
Loading…
Reference in New Issue