On Fri, 27 Aug 2004, Gavin Henry wrote:
Ramprasad A Padmanabhan said:
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.
Oh well :-(
This is incorrect.
Straight Vi may not be able to indent, but Vim can do it perfectly well.
I use it all the time, it happens automatically, and it works well.
<http://vimdoc.sourceforge.net/htmldoc/options.html#'autoindent'>
For more Vim questions, this isn't the right list. There is a lot of material at <http://vimdoc.sourceforge.net/>, and you can sign up for Vim related mailing lists at <http://www.vim.org/community.php>.
-- Chris Devers
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>