I have written a python script that is doing some checks for a LaTeX file and then compiles it. I call it upon saving the file using the following line

:autocmd BufWritePost * !~/.vim/latex_compiler.py <afile> 

how can I close the terminal buffer upon certain condition?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.