On Mon, Sep 19, 2011 at 02:41:43PM -0400, Roy Fulbright wrote: > > > > > Date: Mon, 19 Sep 2011 00:49:51 +0400 > > From: [email protected] > > To: [email protected] > > Subject: Re: Perl Support - Turn off perl header block creation for new > > files > > > > On Sun, Sep 18, 2011 at 04:17:01PM -0400, Roy Fulbright wrote: > > > I just downloaded Perl Support and find it very useful. However I would > > > like to disable the header block creation for new perl files. I have > > > looked in perl-support.vim in vimfiles\plugin but I cannot find where > > > this header block is generated for new perl files. Does anyone know how I > > > can locate and disable this feature? TIA. > > > > > > > You can edit template in ~/.vim/perl-support/templates/Templates file. > > > > -- > > You received this message from the "vim_use" maillist. > > Do not top-post! Type your reply below the text you are replying to. > > For more information, visit http://www.vim.org/maillist.php > > Thanks for the info, Ivan. I renamed my Templates file and created an empty > one, which keeps the header from being created on a new perl file, but I > still get prompted to hit Enter to complete the process of opening the file. > Do you know where the template is invoked from so I can turn off the template > invocation and not have it process the template (empty or otherwise) at all? > Thanks. >
Well, I cleared my template file too, and I cannot reproduce the behaviour that you described above. Anyway, the template insertion is being called in ~/.vim/plugins/perl-support.vim. You can find the lines needed by searching 'autocmd'. But I doubt that the editing of that file is an elegant way to solve the problem. -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
