Something that helps in text editing and proofreading is that for Insert mode, I have set an IMAP:
:imap zz ^[:w^M
and when I type zz
I return to command mode and also write the current buffer. This makes latexmk
reprocess my .tex
.
However, I also make smaller changes like replacing single characters with r
or daw
for deleting a word or pasting a register. How can I tell Vim to write the current buffer every time I do such changes?
updatecount
, so that Vim will write to the swap file very often. This obviously may cause slowdowns.