Hi Ted
Thanks for your fast answer. The problem persists when editing projects in
buffers (which I alerady did, through tabs, and now do through pure
buffers).
Included is a complete minimal example :
0. let g:Tex_GotoError=0 in the .vimrc
1. open the two files main.tex and intro.tex in two
I'll try to comment on the other parts of the message later today, but
in the meanwhile...
2. set intro.tex the current buffer (and :set ft=tex for LatexSuite to
be loaded, the file seems too short to be correctly autodetected as a
latex file), stay on first line
If you put:
let
If you put let g:tex_flavor='latex'
into your .vimrc, then you'll never have to :set ft=tex again.
Thank you, but it does not seem to help the small file intro.tex
trigger the launch of Latex-Suite when I open it. Anyway, this is a
minor problem, as I rarely have such small files (though I
That's interesting. It works for me. That is, I have
let g:tex_flavor='latex'
Sorry, my very mistake ! I had incorrectly capitalized it the texsuite
way (i.e. let g:Tex_Flavor). It now works as angel. All my apologies,
and all my thanks :)
Additionally, if you haven't figured this out already
I have not even tried to find a way to stop LatexSuite from jumping to
files with errors. I thought about it for a couple seconds, and then
realized that I can just CTRL-O to undo that jump, just as you can use
CTRL-O and CTRL-I to undo and redo most kinds of jumps.
Hopefully that will save you
Sounds like an elegant solution!
Additionally, if you want to prevent Vim-LaTeX from jumping to the WRONG
file, see:
http://phaseportrait.blogspot.com/2008/03/fixing-vim-latex-compiler-error.html
That way if you actually do get an error in the current file that's
opened, Vim will be less
Thank you very much to both of you for the help !
I ignored that Ctrl-O worked also between buffers, thanks.
Julien
On Wed, Jan 7, 2009 at 6:33 PM, Ted Pavlic t...@tedpavlic.com wrote:
Sounds like an elegant solution!
Additionally, if you want to prevent Vim-LaTeX from jumping to the WRONG
Dear all
I am using vim-latex with a multiple-file project. Setting GotoError=0 only
prevents jumping to the first warning/error when the said warning is in the
file being currently edited. In any other case, the file currently open in
the window is systematically replaced by the file in which
I don't have a chance to generate an example to test this, but if you
open your files in buffers, you might be OK.
IIRC, when an error occurs in another file that is already open in a
buffer, that buffer is focused.
If you get used to editing projects in buffers (e.g., vim *.tex), then I