refactor the vim plugins