From ba6e8ed9016343b4ae7acc2cac6e3a637b42b619 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 30 Oct 2017 17:22:55 +1300 Subject: Remove 'nocompatible' setting vim-vint says: >Do not use nocompatible which has unexpected effects (see :help >nocompatible) I can't actually find anything in the help item it references that says that setting 'nocompatible' is bad, but the situation in which it's needed is very niche anyway; per the removed comment: >Don't make any effort to be compatible with vi, use more sensible >settings. This is only here in case this file gets loaded explicitly >with -u; the mere existence of a ~/.vimrc file already turns this off. We'll just leave it out, and see if anything bad happens..."if in doubt, rip it out". --- vim/vimrc | 5 ----- 1 file changed, 5 deletions(-) (limited to 'vim/vimrc') diff --git a/vim/vimrc b/vim/vimrc index c72857ce..e0020b5e 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -1,8 +1,3 @@ -" Don't make any effort to be compatible with vi, use more sensible settings. -" This is only here in case this file gets loaded explicitly with -u; the mere -" existence of a ~/.vimrc file already turns this off. -set nocompatible - " Use UTF-8 by default wherever possible, including in this file if has('multi_byte') set encoding=utf-8 -- cgit v1.2.3