Hi Javier, On 4/19/06, Javier Rojas <[EMAIL PROTECTED]> wrote:
Anyway, would it be possible that vimlatex, instead of deleting the text written, simply puts it "as is" if I'm not within any of the itemize, enumerate or description environments? For example, if my imap were \potato, vimlatex should change it to \item when I'm inside of some of these environments, and leave \potato if I'm out.
This is actually quite a bit harder than it seems (partly because there Tex_InsertItem() does not know what mapping was responsible for calling it). The best way to get around this might be to define let g:Tex_ItemStyle_list = '\item ' and similar for any other environments you use \items for. One thing which we _could_ do is to create yet another setting which makes latex-suite insert a bare \item when no enclosing environment is found... Thanks, Srinath ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Vim-latex-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/vim-latex-devel