From: Michael S. <vim...@so...> - 2004-05-21 14:27:36
Hi *,
I just started using vimLaTeX and I am pretty impressed so far, but one simple
feature I am currently missing is that I\'d like my document to be saved BEFORE
compilation with \\ll . In fact, I don\'t know why I would want my document not to be
saved before it\'s latexed. Is there a simple way to add a save hook before
compilation?
Greets,
Michael
From: Srinath A. <sr...@fa...> - 2004-05-21 17:38:28
On Fri, 21 May 2004, Michael Scharkow wrote:
>
> compilation with \\ll . In fact, I don\'t know why I would want my document not to be
> saved before it\'s latexed. Is there a simple way to add a save hook before
> compilation?
>
Yes... Add the following to your ~/.vim/ftplugin/tex.vim
nmap <buffer> <leader>ll :w<cr><Plug>Tex_Compile
Srinath