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?
Calling latex from vim stopped working
text processing;vim;latex
Based on your description, it is very likely that the current working directory for vim or for your lualatex process is not the directory you were looking at, as:If you run lualatex directly it works as expectedYou don't get any error when running lualatex from vimThat indicates that:lualatex works in generalthere must be a difference between when you run it from vim and directly from your terminalTwo typically differences are either environment variables or the current working directory if you launch a process from within another one. As there seem to  no errors/issues related to environment variables (e.g. PATH) it is very likely that your current working directory in that vim instance is different to the directory you looked for your ouptut.