Shorten vim statusline

This commit is contained in:
Talia 2020-08-19 11:31:52 +02:00
parent 0df5aaf0e0
commit a74d3d5d61

View file

@ -91,7 +91,7 @@ end
set listchars=eol,tab:\│\ ,trail,nbsp:…,space
set modeline " Allows setting vim options in other files
set statusline=\ (%n)\ %f\ %a\ [%M%R]\ [%Y]\ %{strlen(@\")}\ %{&autowriteall?'💾\ ':''}%<%#TabLine#%{exists(\"b:blame\")?b:blame[min([getcurpos()[1],len(b:blame)])-1][\"short\"]:\"\"}%#StatusLine#\%=0x%B\ [%l/%L,\ %c%V]\ %4.P
set statusline=%y%t%M%R\ %{&autowriteall?'💾\ ':''}%<%#TabLine#%{exists(\"b:blame\")?b:blame[min([getcurpos()[1],len(b:blame)])-1][\"short\"]:\"\"}%#StatusLine#\%=%{strlen(@\")}\ 0x%B\ [%l/%L,\ %c%V]\ %4.P
set laststatus=0
set cmdheight=1
set timeoutlen=1200