On 11/10/11 12:04, Szabolcs wrote:
Dear group member,
I am using CursorHold and CursorHoldI with a delay of 800 ms to
constantly auto-save the LaTeX file that is being edited. (Which in turn
causes it to be automatically recompiled and shown in a PDF reader. I do
this to get real-time preview.). Occasionally, when I'm working on a
large file that takes longer to compile, Vim becomes less a responsive,
and misses a few keystrokes. I.e. sometimes a few characters I type
simply don't show up 'csing bron wors'.
Is there anything I can do to ensure Vim won't miss any keystrokes?
(It's okay if the keystrokes show up with a delay, but I don't want them
to go AWOL)
An 'updatetime' of 800 milliseconds is unusually short: no wonder Vim
gets sluggish if it saves your file to disk that often. The default is
4000 (4 seconds) which will still save your work "reasonably" fast,
while saving quite a lot on disk head movement and reducing the risk of
keyboard buffer overflow.
Best regards,
Tony.
--
Don't suspect your friends -- turn them in!
-- "Brazil"
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php