Add bd function to bashrc and minor improvements to vimrc.