Monday, September 19, 2011

RE: Perl Support - Turn off perl header block creation for new files



> Date: Mon, 19 Sep 2011 00:49:51 +0400
> From: oreshnikov.ivan@gmail.com
> To: vim_use@googlegroups.com
> 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.

No comments: