I am using MacVim version 7.4. I am authoring a large LaTeX file and I use a GNU Makefile to compile the documents along with lots of figures and other targets. The command make generates lots of output text from executing pdflatex several times.

My problem: When I use :!make from gvim it works correctly, however, it is at least 10 times slower than typing make in a terminal. I tried the same experiments from vim in a terminal, and it seems to work fine. Is there a fix to get gvim up to speed?

  • 3
    And what about :make (there are no reasons nowadays to use :!make)? – Luc Hermitte Mar 1 '16 at 8:57
  • @Nobe4 : can you clarify a bit where/how do I use silent? – Bichoy Mar 1 '16 at 18:56
  • @LucHermitte: :make in vim-latex-suite executes pdflatex in its own way. I have lots of other targets for different graphics and bibliography in my own GNU Makefile. This is why I need to run the actual make. If there is a way to get it working with just :make please let me know. – Bichoy Mar 1 '16 at 18:57
  • 2
    @Bichoy You can unset makeprg to get :make to run make again. – muru Mar 2 '16 at 4:55

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.