Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

vim perl

by perlprogrammer (Initiate)
on Dec 02, 2007 at 18:34 UTC ( [id://654436]=perlquestion: print w/replies, xml ) Need Help??

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

Has anyone use perl-support on gvim and vim before.It look like a nice tool to have and to speed up your perl programming:)

Replies are listed 'Best First'.
Re: vim perl
by eyepopslikeamosquito (Archbishop) on Dec 02, 2007 at 19:50 UTC
Re: vim perl
by DigitalKitty (Parson) on Dec 02, 2007 at 19:36 UTC
    Hi perlprogrammer.

    I have used gvim on our WinXP machine before. It's a powerful editor but I'm not averse to using emacs or xemacs. If the machine I'm using doesn't have either editor installed, opening notepad or the ancient DOS command 'edit' will suffice. <grin>



    ~Katie

    Edit: Added relevant links mentioned in the post.
Re: vim perl
by KurtSchwind (Chaplain) on Dec 02, 2007 at 23:07 UTC

    I use vi(m) for everything text. Not just perl. But it's a great editor to be sure.

    However, before asking questions like these, you should hit the super search bar. This has been discussed before (and more than once at that).

    --
    I used to drive a Heisenbergmobile, but every time I looked at the speedometer, I got lost.
Re: vim perl
by Erez (Priest) on Dec 03, 2007 at 09:11 UTC

    Vim/gVim supports Perl in several layers. The basic one comes "out of the box" and is an excellent (imo) syntax highlighter. Usually that's enough. It will also identify any file that has a shebang call with /perl. (although this feature may be lacking)

    Higher layer of working with Vim/Perl is to modify Vim configuration files for making the editor even more Perl-friendly.

    The highest level is actually compiling Vim with Perl support and using the Perl API

    .

    Software speaks in tongues of man; I debug, therefore I code.

Re: vim perl
by tuxz0r (Pilgrim) on Dec 03, 2007 at 14:50 UTC
    I haven't used the specific gvim perl-support plugin, but based on it's documentation, and the screen shots it looks very nice. I typically use plain vim, without the gui, for nearly all my editing so I don't find much use in integrated development environments with menus and button bars. The Perl support in plain vim is essentially the syntax file for highlighting, much as it is for any language. But the great thing about vim is that it has all the great features of vi with many extras, most of which revolve around functionality that make it a nice programmer's editor. Those are all available in gvim as well, so even without the perl-support pluging, gvim would make a very nice environment for programming, debugging and maintaining Perl code.

    ---
    echo S 1 [ Y V U | perl -ane 'print reverse map { $_ = chr(ord($_)-1) } @F;'
    Warning: Any code posted by tuxz0r is untested, unless otherwise stated, and is used at your own risk.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2024-04-24 04:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found