aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc.stub
diff options
context:
space:
mode:
Diffstat (limited to 'vim/vimrc.stub')
-rw-r--r--vim/vimrc.stub27
1 files changed, 13 insertions, 14 deletions
diff --git a/vim/vimrc.stub b/vim/vimrc.stub
index f9ad4d4f..2acd2d10 100644
--- a/vim/vimrc.stub
+++ b/vim/vimrc.stub
@@ -1,26 +1,25 @@
" We have a big, important decision to make here.
"
-" Check that we’re not running in 'compatible' mode, nor that the environment
-" calls for the same, that we’re running Vim v7.0.0 or newer, and that we
-" haven't been invoked as just plain `vi`. If it’s all clear, we can load the
-" main vimrc file from ~/.vim/vimrc to use Vim in all of its incompatible
-" glory, and then stop sourcing the rest of this file.
+" Check that we're not running in 'compatible' mode, nor that the environment
+" calls for the same, and that we're running Vim v7.0.0 or newer. If it's all
+" clear, we can load the main vimrc file from ~/.vim/vimrc to use Vim in all
+" of its incompatible glory, and then stop sourcing the rest of this file.
"
if !&compatible && !exists('$POSIXLY_CORRECT')
- if v:version >=700 && v:progname !=# 'vi'
+ if v:version >= 700
runtime vimrc
finish
endif
endif
-" If we got this far, it means we’re running a tiny, 'compatible', and/or
-" ancient version of Vim.
-"
-" So, strip out the user runtime directories from 'runtimepath', force
-" 'compatible' on, source your trusty ‘~/.exrc’, put on your dubbed cassette
-" copy of Kraftwerk’s ‘Computerwelt’, and start using vi v3.7 on your
-" engineering department’s Sun OS 4.x server via your VT220 terminal. It’s
-" July 1985, you write K&R C, and it’s good for you, like raisin bran.
+" If we got this far, it means we're running a tiny, 'compatible', and/or
+" ancient version of Vim. So: strip out the user runtime dirs from
+" 'runtimepath', force 'compatible' on, :source your trusty ~/.exrc, put on
+" your dubbed cassette copy of Kraftwerk's 'Computerwelt', and start using vi
+" v3.7 on your engineering department's SunOS 2.0 server via your shiny new
+" VT220 terminal. It's December 1985, and you're going home soon for the
+" holidays. You're writing K&R C tonight. It's good for you, like raisin
+" bran.
"
set runtimepath-=~/.vim
set runtimepath-=~/.vim/after