Craig Turner said: > (replying to digest) > >> > Gavin -- what happens if you just put >> > >> > set autoindent >> > >> > in your ~/.vimrc ? Does that not work ? >> >> No Doesnt work for me , I am using vim 6.2 on linux ( redhat AS 3 ). >> Any clue ? > > This may be a confusion over definitions. > > Gavin, Ram, if you do the following, does the editor keep the indentation? > > Type > while { > if () { <now hit enter>
I press i first then type, and no it doesn't > > with autoindent on, your cursor should return to the same level of > indentation as 'if'. However, this is different to indenting to the > point where it's expecting you to want to type your next character. Is > it this functionality that you're after? > > - C > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > <http://learn.perl.org/> <http://learn.perl.org/first-response> > > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>