Hello to you,
I don't know if it qualifies as a bug, i.e. if vim-latex should check
if the paste option is enabled before inserting a template, but you
could work around it by either mapping the following ex command

:set paste | TTemplate | set nopaste

or by writing a function in your .vimrc, like

function LatexTemplate ()
  :set paste
  :TTemplate
  :set nopaste
endfunction

Note that I haven't tested this code, though. You could also put it in
a file and load it only for .tex files with an autocommand (see ":help
function" in vim).

Alessandro

-- 
If God had intended for email to be written in HTML, then the
traditional signoff of prayers would be </amen> -- Tom Liston


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to