On Fri, 2004-08-27 at 18:14, Chris Devers wrote: > On Fri, 27 Aug 2004, Ramprasad A Padmanabhan wrote: > > > On Fri, 2004-08-27 at 17:53, Gavin Henry wrote: > >> Hi all, > >> > >> Kind of a perl question, how do I get VIM to indent perl code? > > > > Use emacs :-) > > Har har har > > > Anyway on a serious note , I dont think there is any auto indent > > possible in vi. You will have to set tab value and hit tabs as many > > times you want to indent. > > Fortunately, he specifically said "VIM", not Vi. > > Vim is a very nice improvement over traditional Vi that can do, among a > great many other things, syntax highlighting and automatic indentation. > > 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 ? Thanks Ram -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>