http://www.perlmonks.org?node_id=83093

bikeNomad has asked for the wisdom of the Perl Monks concerning the following question:

I'm a long time user of the VIM editor http://www.vim.org. The development version (version 6) has added folding, as well as the ability to specify transforms on include file names, etc. on a per-file-type basis.
These appear to be just what's needed to make VIM an even better Perl editor.
I was wondering if any of the Monks had a VIM setup for 6.0 that included settings for<bl>
  • isfname
  • iskeyword
  • include
  • includeexpr
  • other good things </bl> that they'd be willing to share...
    I've looked at the vim.org site, and only found the syntax highlighting support. Thanks!
  • Replies are listed 'Best First'.
    Re: Using VIM 6 with Perl
    by lemming (Priest) on May 25, 2001 at 03:06 UTC
      Well except for includeexpr, all of those options exist in 5.7 which is way more stable. You might find setups that have those options set that way.
      I would think a better resource would be comp.editors or one of the vim mailing lists for this question, but maybe someone will come up with what you want.
        Thanks, I'll try comp.editors. I wanted includeexpr because it will let me use, say, gf to go to a used or required file directly. In 5.7, there was no way to translate Perl's :: to / or to tack on the .pm.
        I came up with this ftplugin file which works pretty well so far.
        Updated: moved to snippets, added link. This should make it easier to find and maintain.
    Re: Using VIM 6 with Perl
    by djw (Vicar) on May 25, 2001 at 17:29 UTC
      I just picked up a great book called "Vi IMproved - Vim". It may not cover anything in the dev version, but it has a lot of great information on how to customize vim. I recommend this book for anyone using this editor.

      Thanks,
      djw
    A reply falls below the community's threshold of quality. You may see it by logging in.