Re: [Vim-latex-devel] some questions about main.vim
Brought to you by:
srinathava,
tmaas
From: Benji F. <be...@me...> - 2003-01-09 21:15:18
|
Srinath Avadhanula wrote: >>Why is silent used only in has('gui')? >> > > When I try to execute a <silent> command like ":silent !latex %" or such > from within a console vim, my vim display gets overwritten by the > display of the commanad. (I tested this using the console vim which > ships with cygwin) I then have to press <C-l> to get back... A newbie > might get into a total panic if something like that happens... With gvim > ofcourse, a seperate window is spawned... Doesn't this problem occur > with console vim's in *nix? I am not sure about the console, but in an xterm I get a "Hit ENTER" prompt and then vim comes back to me. >>2. Does the comment about compiler/tex.vim mean that ":compiler tex" was >>tried and did not work? > > > I haven't tried this in a long while... Let me see... No ":compiler tex" > doesn't seem to work. I haven't looked into this in a while. Maybe our > compiler/tex.vim needs to set some global variable so vim's compiler > doesn't overwrite ours... It looks like ":compiler tex" does source our > compiler/tex.vim but also vim's compiler/tex.vim... Unbder :help :compiler, What this command actually does is: - delete the "current_compiler" variable - execute ":runtime! compiler/{name}.vim" First non-comment lines of the standard compiler/tex.vim : if exists("current_compiler") finish endif It then sets g:current_compiler to "latex" or whatever is specified by b:tex_flavor or g:tex_flavor . --Benji |