[sf-perl] IDEs and/or Editors

Adam Morgan Adam.Morgan at safeway.com
Thu Feb 22 17:42:12 PST 2007


You could try setting the indentexpr="", which takes away any special
routines for handling the indentation, then you want to set autoindent
so that it behaves in the way you like it. If this works then you should
add it to your vimrc file so it is used on every invocation.

-----Original Message-----
From: sanfrancisco-pm-bounces+adam.morgan=safeway.com at pm.org
[mailto:sanfrancisco-pm-bounces+adam.morgan=safeway.com at pm.org] On
Behalf Of Dan Keller
Sent: Thursday, February 22, 2007 5:09 PM
To: San Francisco Perl Mongers User Group
Subject: Re: [sf-perl] IDEs and/or Editors

At 04:54 PM 2/22/2007, Andy Lester wrote:

>For me, vim's color coding is part of everything I do.  If I do 
>anything wrong, it just feels wrong.  For example, if I close a quote 
>incorrectly, the rest of my code is purple.  Even if I can't tell 
>exactly what's wrong, I just FEEL that there's a problem, and I stop 
>until I figure it out.

I agree, when the colors look funny I know something's mismatched and I
better look harder.  Truly a productivity boost, at least for me.

What drives me nuts (and I'm sure it's just a misconfiguration but I
haven't figured it out yet) is vim's "smart" indenting.  Good old vi had
a much more rudimentary auto-indent -- it just indented the same as the
previous line -- but vim tries to be clever, and screws up my own
indents.  So here's my question for you vim wizards:  is there a way to
tell vim to just be vi?  Or at least to just auto-indent the old-
fashioned way?  :-)

Dan Keller
dan at keller.com
http://www.keller.com/dan
+1 415 861-4500 (voice)
+1 415 861-4593 (fax)

_______________________________________________
SanFrancisco-pm mailing list
SanFrancisco-pm at pm.org
http://mail.pm.org/mailman/listinfo/sanfrancisco-pm


"MMS <safeway.com>" made the following annotations.
------------------------------------------------------------------------------
Warning: 
All e-mail sent to this address will be received by the Safeway corporate e-mail system, and is subject to archival and review by someone other than the recipient.  This e-mail may contain information proprietary to Safeway and is intended only for the use of the intended recipient(s).  If the reader of this message is not the intended recipient(s), you are notified that you have received this message in error and that any review, dissemination, distribution or copying of this message is strictly prohibited.  If you have received this message in error, please notify the sender immediately. 
  
==============================================================================



More information about the SanFrancisco-pm mailing list