From a74d3d5d612645af01ccfb1ec0898f1bb9959e3c Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Wed, 19 Aug 2020 11:31:52 +0200 Subject: [PATCH] Shorten vim statusline --- vim/plugin/shame.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vim/plugin/shame.vim b/vim/plugin/shame.vim index 86c4560..2675347 100644 --- a/vim/plugin/shame.vim +++ b/vim/plugin/shame.vim @@ -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