TexLet g:Tex_ViewRule_dvi = 'xdvi -editor "gvim --servername
'.v:servername.' --remote +\%l \%f"'
in my texrc. This means that when I run inverse search, xdvi calls gvim
with something like
gvim --servername THESERVER --remote +200 proposal.tex
When I do this, vim displays a message
"proposal.tex: 4988 lines --18%--
and then asks me to press enter
How can I disable this behavior?
--
Chanoch (Ken) Bloom. PhD candidate. Linguistic Cognition Laboratory.
Department of Computer Science. Illinois Institute of Technology.
http://www.iit.edu/~kbloom1/
Does it still happen with
:set lastline=2 cmdheight=2
?
Best regards,
Tony.
--
"The Schizophrenic: An Unauthorized Autobiography"
I think Tony is referring to the 'laststatus' option?
:set laststatus=2 cmdheight=2
I don't know what is causing the problem, but there might be
a clue here:
http://vim.wikia.com/wiki/Avoiding_the_%22Hit_ENTER_to_continue%22_prompts
John
oops, I do, but 'cmdheight' is more to the point: raising it slightly
above its default value of 1 reduces (in my experience) the rate of
|hit-enter-prompt|s.
Best regards,
Tony.
--
Those who make peaceful revolution impossible will make violent
revolution inevitable.
-- John F. Kennedy
I tried something similar by setting xdvi.editor to
vim --remote-silent +%l %f
I edit the tex file using vim and preview the dvi file generated.
Inside xdvik I press ctrl+mouse button1 to inverse search, then vim
complain saying the swap file already exist (open the same file with
vim twice).
How does the server mode handle the request to open a file that has
already been opened? Or my set up for xdvi was incorrect?
--
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩318 李白 清平調三首之二
一枝紅豔露凝香 雲雨巫山枉斷腸 借問漢宮誰得似 可憐飛燕倚新妝
> On 03/04/09 17:07, Ken Bloom wrote:
>>
>> I'm using vim LaTeX-suite for LaTeX editing, and have configured my
>> xdvi viewer to be called using
>>
>> TexLet g:Tex_ViewRule_dvi = 'xdvi -editor "gvim --servername
>> '.v:servername.' --remote +\%l \%f"'
>>
>> in my texrc. This means that when I run inverse search, xdvi calls gvim
>> with something like
>>
>> gvim --servername THESERVER --remote +200 proposal.tex
>>
>> When I do this, vim displays a message "proposal.tex: 4988 lines
>> --18%--
>> and then asks me to press enter
>>
>> How can I disable this behavior?
>>
>>
> Does it still happen with
>
> :set lastline=2 cmdheight=2
It goes away with cmdheight=2 (though I'm not sure I want that to be my
final solution), but vim (7.2.130) claims not to know about the lastline
variable.
--Ken
The message after the one you are replying to explained the
problem:
http://groups.google.com/group/vim_use/browse_thread/thread/db729459e23efa62
John
Sorry. There was some lag with that last message getting out. I read
through gmane, and I must have shut off my computer for the day before
leafnode had a chance to get the message out.