Here's an alternative (that'll work with every vi, real or clone).
In you home directory, create a file .exrc with this content:
Code:
set autoindent showmode showmatch
Log out, log back in, and there you go.
You may not like showmode (it just displays the mode you're in; e.g., "open"), but you will like showmatch -- anytime you type an open paren, brace, or bracket when you type the closing paren, brace, or bracket the cursor will jump to show you the match; handy, that. And, of course, autoindent does what you want it to.