in reply to Re: Perl/MySQL Development Environment
in thread Perl/MySQL Development Environment

Oh, Juerd, what are your impressions from vim6 folding when used against Perl code? Do you manually create folds or use indent auto-folding? I see this feature as extremely useful but cannot configure it properly :)) auto-folding seems awkward and manual folding consumes much time.
  • Comment on Re: Re: Perl/MySQL Development Environment

Replies are listed 'Best First'.
Re: Re: Re: Perl/MySQL Development Environment
by Juerd (Abbot) on May 26, 2002 at 14:23 UTC

    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 let perl_fold=1 colorscheme elflord syntax on hi Folded ctermfg=red
    The folding is defined in the syntax file, so you must enable perl_fold before turning on syntax. I dislike the yellow folding (I want the folds to be very visible) that is default in elflord, so I use the "highlight" (hi) command to change it to red.

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