vim: cleanup settings in newBuffer() and make them local