From 62d2a7d8e5b37ea5e207a337579085a4043440ce Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 23 Nov 2017 09:14:39 +1300 Subject: Restore 'nocompatible' set to vimrc Otherwise, the line-continuation in the ~/.vimrc fails if compatibility mode survives the invocation step, for example if the vimrc file is sourced directly with the -u option, or if vim is invoked as "ex". --- vim/vimrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vim/vimrc b/vim/vimrc index a44c5d2f..5d195427 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -1,3 +1,6 @@ +" Don't try to be vi-compatible, even if invoked as ex or with -u specified +set nocompatible + " Use different keys for global and local leaders if has('eval') let g:mapleader = '\' -- cgit v1.2.3