[vimrc] remove unneeded function