Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Vim configs (slightly OT)

by Juerd (Abbot)
on May 15, 2002 at 22:30 UTC ( [id://166858]=note: print w/replies, xml ) Need Help??


in reply to Vim configs (slightly OT)

set smartindent set tabstop=8 set shiftwidth=4 set softtabstop=4 let perl_want_scope_in_variables=1 let perl_extended_vars=1 let perl_include_pod=1 colorscheme elflord syntax on
The elflord colorscheme has bright colors, so it is easy to read, the perl_* lets are very imporant if you're serious about Perl programming:
want_scope_in_variables: give package names an other color
extended_vars: parse things like $foo{ split //, $var } for better clarity
include_pod: recognise pod and use special colors for it.

Note: It's not perl_include_POD, as all documentation says. A lot of people read the documentation, and don't have this working, so use lowercase "pod".

- Yes, I reinvent wheels.
- Spam: Visit eurotraQ.

Replies are listed 'Best First'.
Re^2: Vim configs (slightly OT)
by Aristotle (Chancellor) on May 18, 2002 at 22:48 UTC
    Just where do those mysterious perl_* come from? I found nothing on them anywhere in the docs?

    Makeshifts last the longest.

      Just where do those mysterious perl_* come from? I found nothing on them anywhere in the docs?

      :help perl-syntax

      - Yes, I reinvent wheels.
      - Spam: Visit eurotraQ.
      

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-04-16 23:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found