Re: [Vim-latex-devel] Problems with templates
                
                Brought to you by:
                
                    srinathava,
                    
                
                    tmaas
                    
                
            
            
        
        
        
    | 
      
      
      From: Ruthard B. <rut...@we...> - 2012-12-28 13:15:53
      
     | 
| >== 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. regards Ruthard |