aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-18 17:06:43 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-18 17:06:43 +1200
commit01b124f0850a0bcc4be0918bb526c13bb5cc5678 (patch)
tree9f976c5034cfdf223ef144d5a4c20201a78676bc /vim
parentRemove 'shiftwidth', add 'showmatch' in ~/.exrc (diff)
downloaddotfiles-01b124f0850a0bcc4be0918bb526c13bb5cc5678.tar.gz
dotfiles-01b124f0850a0bcc4be0918bb526c13bb5cc5678.zip
More Vim compatibility tweaks
Diffstat (limited to 'vim')
-rw-r--r--vim/vimrc.stub.vim10
1 files changed, 6 insertions, 4 deletions
diff --git a/vim/vimrc.stub.vim b/vim/vimrc.stub.vim
index a7136aec..175aa853 100644
--- a/vim/vimrc.stub.vim
+++ b/vim/vimrc.stub.vim
@@ -9,10 +9,12 @@ if !&compatible && !exists('$POSIXLY_CORRECT') && v:version >= 700
endif
" If we get this far, it means we're running a tiny, 'compatible', and/or
-" ancient version of Vim. Force 'compatible' on, remove our user runtime
-" directory, and start vi v3.7 from July 1985. Don't grizzle, just use it.
-" It's good for you, like raisin bran.
+" ancient version of Vim. Strip out our user runtime directories from
+" 'runtimepath', force 'compatible' on, and fire up Sun OS 4.x vi v3.7, from
+" July 1985. Don't grizzle, just use it. It's good for you, like raisin
+" bran.
"
-set compatible
set runtimepath-=~/.vim
set runtimepath-=~/.vim/after
+set compatible
+silent! source ~/.exrc