Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

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 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!
  • Comment on Using VIM 6 with Perl
    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
    Re: Using VIM 6 with Perl
    by malloc (Pilgrim) on May 25, 2001 at 18:54 UTC
      I've found the best way to make vim even more robust is the following line:

      alias vim='/usr/bin/emacs'

      hope this helps ;) -malloc

    Log In?
    Username:
    Password:

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

    How do I use this? | Other CB clients
    Other Users?
    Others cooling their heels in the Monastery: (8)
    As of 2015-07-29 22:22 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









      Results (269 votes), past polls