Code cleanup in repo.vim