[vimrc] improve portability