Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

How can I disable latex's quickfix feature when editing tex files (having vimlatex installed). But I want to keep it for any other language…

Pretty sure this is just a small flag, didn't find it 'though.

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

Note: I do not have vim-latex installed. I have just looked at likely parts of the plugin’s code.

What behavior do you want to avoid?

The documentation says that you can set g:Tex_GotoError to prevent automatically jumping to the first error after using \ll to compile.

let g:Tex_GotoError = 0

Also, the code indicates that you can inhibit the log file preview-mode window (below the quickfix window) by setting Tex_ShowErrorContext:

let g:Tex_ShowErrorContext = 0

I did not see an option for controlling whether the quickfix window itself is left open, however. You can close it manually with :cclose (which can be shortened to :ccl).

For both of the above variables, you can use a buffer-local (b:…) or window-local (w:…) instead of the global (g:…) to localize the effect if you do not want to change the behavior globally.

share|improve this answer
    
worked like a charm :-) –  Vincent Oct 15 '12 at 8:37
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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