From 85d8cae1729b27f0871a35e84f06876bb4f60797 Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Wed, 19 Aug 2020 14:17:37 +0200 Subject: [PATCH] Unpimp autowrite icon in statusline --- vim/plugin/shame.vim | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/vim/plugin/shame.vim b/vim/plugin/shame.vim index a8f73f7..a243965 100644 --- a/vim/plugin/shame.vim +++ b/vim/plugin/shame.vim @@ -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