Making vimrc more robust