added two missing functions in vimrc