[vim] moving functions/plugins to separate files