When I try to compile my latex document from within vim by issuing: :w|!lualatex % (leaving out the w command does not solve the problem) it compiles but it does not save any files. If I call lualatex directly from the command line lualatex FILE.tex it compiles and saves the files as expected.
The behaviour is especially strange since I never had this problem before. So basically I cannot point to what the problem may be. I'm on an archlinux box.
Does anyone have any suggestion how to solve this problem or at least has some ideas what tests might allow me to find possible causes?
.vimrccontains the linescmap cwd lcd %:p:handcmap cd. lcd %:p:hwhich automatically switch the working directory to that of the current file.lualatexreceived an update that causes the problem. Which would make it alatexrelated question and should probably go on Stackoverflow. But I thought I’d check with othervimenthusiasts..vimrcsetup vim did indeed compile in the wrong directory. Could you post your comment as an answer?