diff --git a/vim/.vimrc b/vim/.vimrc index 23cb05a..6109807 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -1,7 +1,9 @@ " Basic configuraion {{{ """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" -" Don't try to be compatible with Vi -set nocompatible +" Don't try to be compatible with Vi, but avoid side-effects +if &compatible + set nocompatible +endif " Use UTF-8 set encoding=utf-8 set fileencodings=utf-8