Hi Troy!
This question has been asked before, here ist the answer:
-------- Original Message --------
Subject: Re: [Vim-latex-devel] [Contact] save & compile at once
Date: Sat, 30 Oct 2004 15:52:18 +0400 (GMT)
From: Aditya Mahajan <adi...@al...>
To: Till Maas <vim...@sp...>, vim...@li...
References: <E1C...@sc...>
<--- On Oct 30, Till Maas wrote --->
>
> I would like to change the compile command to a "save and compile"
> command, is this possible? I do not find anything in the
> documentation that explains how this would be done. There seems only
> the possibility of changing the command that's passed to the shell.
Put this in your ftplugin/tex.vim
" Compile should also save
nmap <buffer> <leader>ll :update<cr><Plug>Tex_Compile
HTH,
Aditya
--
Aditya Mahajan, EECS Systems, University of Michigan
http://www.eecs.umich.edu/~adityam || Ph: 7342624008
|