Unpimp autowrite icon in statusline

This commit is contained in:
Talia 2020-08-19 14:17:37 +02:00
parent 4ab93a2ab6
commit 85d8cae172

View file

@ -93,11 +93,12 @@ set listchars=eol:¶,tab:\│\ ,trail:·,nbsp:…,space:·
" Allows setting vim options in other files
set modeline
set laststatus=2
set laststatus=0
set statusline=%#StatusBar#
set statusline+=%#DiffDelete#
set statusline+=%{&autowriteall?'\ \ 🖴\ ':''}%<
set statusline+=%#DiffAdd#
set statusline+=%y%t%M%R\
set statusline+=%{&autowriteall?'💾\ ':''}%<
set statusline+=%#DiffChange#
set statusline+=%{exists(\"b:blame\")?b:blame[min([getcurpos()[1],len(b:blame)])-1][\"short\"]:\"\"}
set statusline+=%#DiffChange#
@ -106,7 +107,7 @@ set statusline+=%#DiffAdd#
set statusline+=%{strlen(@\")}\
set statusline+=0x%B\
set statusline+=[%l/%L,\ %c%V]\
set statusline+=%#DiffDelete#
"set statusline+=%#DiffDelete#
set statusline+=%4.P
set cmdheight=1