On (13:35 28/12/12), Ruthard Baudach <ruthard.baud...@web.de> put forth the proposition: >>== Auszüge aus der Nachricht von David Woodfall vom 2012-12-26 01:59: >> I'm having a problem that when I choose a template it ends up with >> several lines at the top snipped off and the spacing/indentation is >> messed up too. >I've had the same observation with my templates. If you analyze the generic >templates - >they all start with some lines producing a file header, and the first >line -- only the first one -- is stripped. I think this line is for a >comment on the template file that is not part of the file. Thus, my >custom templates start with > >% > >as first line. > >The latter is a problem of vim when you do pasting with automatic >indentation turned on (as is default with most filetype plugins) -- the >indentations of the pasted text and the autoindent induced indentations >sum up, messing the format. > >see > :help paste >for detail, >use > :set paste >before pasting text >and > :set nopaste >to return to normal behaviour.
Strangely, the problem has gone. I had tried :set paste and turning off autoindent, but it didn't seem to make any difference. Obviously something I did fixed it, but I don't know what... ------------------------------------------------------------------------------ Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 _______________________________________________ Vim-latex-devel mailing list Vim-latex-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vim-latex-devel