vim: Replace home-grown rules with autoclose.

This still needs tuning for brace behavior.