vimscript is picky as hell...
gen pdf when writing changes to tex file