Friday, May 2, 2008

Tab setting in vim editor!!!

Hi all,

I am a newbie to the vi editor. I use vi to write AWK progs and perl scripts. I am facing a problem of indentation. When I press enter after writing a line, the cursor is going back to the start of the line. But i want the cursor to be placed at bottom of the above lines beginning, i.e., if I typed some code from 16th column the next line should start from 16th column only, unless i change the indentation.