better compatibility and general improvements on vimrc