Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
Perl Monk, Perl Meditation
 
PerlMonks  

(z) Re: Vim for Perl developers

by zigdon (Deacon)
on May 15, 2003 at 18:12 UTC ( #258477=note: print w/ replies, xml ) Need Help??


in reply to Vim for Perl developers

Interesting article. Thanks for the pointer for tags - very cool.

The only thing there I didn't see is the ability to switch to files and modules easily:

set path+=/path/to/modules/** set suffixesadd=.pm,.pl set includeexpr=substitute(v:fname,'TMPLDIR','/path/to/tmpl/dir','')
These lines give me the ability to move the cursor over 'DB' in a line like:
use Peeron::DB;
hit 'gf', and zoom - I'm editing the DB.pm file in /path/to/modules/Peeron/. Also allows to move the cursor over 'example.tmpl' in:
my $tmpl = HTML::Template->New(Filename => "$Peeron::Conf::TMPLDIR/exa +mple.tmpl");
hit 'gf', and get to /path/to/tmpl/dir/example.tmpl

-- zigdon


Comment on (z) Re: Vim for Perl developers
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2014-04-16 06:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (416 votes), past polls