I just discovered LaTeX-suite and was overjoyed with the breadth of the compiling and debugging options, but for some reason the primary debugging mechanism is not working for me.

When I compile with \ll I get the expected log output, and then the "Quickfix List" window appears and gains focus. The reference manual appears to indicate that simply pressing enter should move focus to the source window at the location of the error, but for me it does nothing but minimize the accompanying log output preview.

The reference at http://folk.uio.no/haaksk/config-files/.vim/doc/latex-suite.html indicates

You can then scroll through the errors and press <enter> to be taken to the location
of the corresponding error´unless you set the g:Tex_GotoError variable to 0.

Even with Tex_GotoError set to 1 I do not get the expected behaviour, and I'm not sure what else to try.

  • try auctex and emacs ;) – Micha Mar 28 '13 at 6:36
  • Which version of vim & latex-suite are you using? What is in your vimrc? – Psirus Mar 28 '13 at 10:25
  • VIM - Vi IMproved 7.3 with vim-latexsuite 20130126-1 (sorry, this is the only "versioning" I can seem to find) – rayjingstorm Mar 28 '13 at 15:25
  • Woops, missed the edit window; my vimrc is at pastebin.com/ZJQ5rnVH ; and as for emacs I'm not looking for new OS, just a new text editor plugin. – rayjingstorm Mar 28 '13 at 15:33
  • 2
    Hi, I have the same problem. Did you fixed it? – Yulong Ao Nov 30 '14 at 14:40

I just tested this out and it appears the problem you are having is that after compilation the cursor is left in the document and not in the error list. Moving between windows can be done simply with CTRL-W CTRL-W (this moves to the 'next' window - there are more window switching keystrokes - look them up with :help CTRL-W).

Once in the error window hitting CR (return) will move you to the error. You can also use :cnext and :cprev to move back and forth in the error list. Use :cfirst and :clast to move to the first and last error respectively.

(Note: this 'error list' is in fact a VIM quickfix list - info on that can be found using :help quickfix).

| improve this answer | |

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.