Auto-indents at beginning of line

I'm not sure if this will always give
the sort of behavior we want, and maybe we'll
have to change it if the cursor jumping
around proves annoying, but right now it does
seem to auto-indent in a sane way.