Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: Which text editor

by Aristotle (Chancellor)
on Mar 16, 2004 at 14:41 UTC ( #337012=note: print w/replies, xml ) Need Help??


in reply to Re: Which text editor
in thread Which text editor

Also:
set makeprg=perl -Mstrict -wc % set errorformat=%m at %f line %l.

Now you can just type :make to check the script; Vim's quickfix (:help quickfix) will then pick up perl's error messages. Besides the handy (and very key-bindable :) ) commands to navigate error locations, you can also do a :copen to open a window on a special buffer that lets you visually navigate errors and move to their locations.

If you edit stuff other than Perl code with Vim, you should probably place these somewhere that only sets them for Perl code files. :help ftplugin-override

Makeshifts last the longest.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://337012]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2018-05-26 10:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?