diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-23 09:14:39 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-23 09:24:04 +1300 |
commit | 62d2a7d8e5b37ea5e207a337579085a4043440ce (patch) | |
tree | f227fe23ba4511da07e877d818a4676c6b9021f1 /vim/vimrc | |
parent | Merge branch 'release/v0.19.0' (diff) | |
download | dotfiles-62d2a7d8e5b37ea5e207a337579085a4043440ce.tar.gz dotfiles-62d2a7d8e5b37ea5e207a337579085a4043440ce.zip |
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".
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 = '\' |