vim: add some optimizations.