an indentation question

2006-08-18 Thread steven woody
i use vim on both linux and windows. but i found their indentation behavior a little differently. say i was coding a c program on the below line void foo_fun( int p1 then i press return on linux, the cursor come to a pleasant position, that became, void foo_fun( int p1

Re: an indentation question

2006-08-18 Thread A.J.Mechelynck
steven woody wrote: i use vim on both linux and windows. but i found their indentation behavior a little differently. say i was coding a c program on the below line void foo_fun( int p1 then i press return on linux, the cursor come to a pleasant position, that became, void foo_fun( int p1

Re: an indentation question

2006-08-18 Thread Benji Fisher
On Fri, Aug 18, 2006 at 10:36:32AM +0200, A.J.Mechelynck wrote: steven woody wrote: i use vim on both linux and windows. but i found their indentation behavior a little differently. say i was coding a c program on the below line void foo_fun( int p1 then i press return on linux, the

Re: an indentation question

2006-08-18 Thread A.J.Mechelynck
steven woody wrote: On 8/18/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: steven woody wrote: i use vim on both linux and windows. but i found their indentation behavior a little differently. say i was coding a c program on the below line void foo_fun( int p1 then i press return on

Re: an indentation question

2006-08-18 Thread Charles E Campbell Jr
A.J.Mechelynck wrote: P.S. I'm no Vim official, just a user like you. Next time, please use reply to all rather than reply to sender so the list gets it and, if e.g. I've gone to bed, someone else can reply. But, Anthony -- you get paid the top salary available for Vim mailing list

Re: an indentation question

2006-08-18 Thread Tim Chase
But, Anthony -- you get paid the top salary available for Vim mailing list personnel! :) Of course, it's probably a bit difficult to buy a cup of coffee with it... And you're both still making twice my vim mailing-list salary! :) -a mock-disgruntled tim

Re: an indentation question

2006-08-18 Thread A.J.Mechelynck
Charles E Campbell Jr wrote: A.J.Mechelynck wrote: P.S. I'm no Vim official, just a user like you. Next time, please use reply to all rather than reply to sender so the list gets it and, if e.g. I've gone to bed, someone else can reply. But, Anthony -- you get paid the top salary

Re: Indentation question...

2006-05-12 Thread Gerald Lai
On Fri, 12 May 2006, John Schmerge wrote: Hi all, I've got a question about changing vim's indentation behavior for c/c++: Is it possible to get the editor to insert tabs to signify *indentation* level, and to insert spaces to align text *after* the indentation? I've been trying to find some