From cb0dfb4ddf8f3eddeed5e664b6f2c4a3596ceb6b Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Tue, 3 Dec 2019 09:14:23 +0100 Subject: [PATCH] Add @ register length to status line --- vimrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vimrc b/vimrc index f320180..f8af9ce 100644 --- a/vimrc +++ b/vimrc @@ -94,7 +94,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]%=0x%B\ [%l/%L,\ %c%V]\ %4.P +set statusline=\ (%n)\ %f\ %a\ [%M%R]\ [%Y]\ %{strlen(@\")}%=0x%B\ [%l/%L,\ %c%V]\ %4.P set laststatus=2 set cmdheight=1 set timeoutlen=1200 @@ -953,4 +953,4 @@ endfunction " --- LaTeX Stuff --- -command Latex2PDF call Async([ 'pdflatex -draftmode '.expand('%'), 'biber '.expand('%:r'), 'pdflatex '.expand('%'), ['/bin/bash', '-c', 'rm *.{aux,bbl,dvi,log,blg,bcf,xml}'] ]) +command! Latex2PDF call Async([ 'pdflatex -draftmode '.expand('%'), 'biber '.expand('%:r'), 'pdflatex '.expand('%'), ['/bin/bash', '-c', 'rm *.{aux,bbl,dvi,log,blg,bcf,xml}'] ])