Re: [Vim-latex-devel] Paste configuration
Brought to you by:
srinathava,
tmaas
From: Alessandro P. <ale...@la...> - 2012-05-10 08:07:17
|
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 |