Add some useful function for vimrc.