Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Using VIM 6 with Perl

by bikeNomad (Priest)
on May 24, 2001 at 23:30 UTC ( #83093=perlquestion: print w/replies, xml ) Need Help??

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

I'm a long time user of the VIM editor 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 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.

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

    Log In?

    What's my password?
    Create A New User
    Domain Nodelet?
    Node Status?
    node history
    Node Type: perlquestion [id://83093]
    Approved by root
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others perusing the Monastery: (8)
    As of 2022-05-25 10:39 GMT
    Find Nodes?
      Voting Booth?
      Do you prefer to work remotely?

      Results (90 votes). Check out past polls.