aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-29 01:15:19 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-29 01:15:19 +1300
commit324e3f470603aa09288ba9ba8a271b25b8930a07 (patch)
tree1325e3dcf50e419a16ebddd13cb7516fb0f2eacd /vim
parentMerge `filetype indent` with `filetype plugin` (diff)
downloaddotfiles-324e3f470603aa09288ba9ba8a271b25b8930a07.tar.gz
dotfiles-324e3f470603aa09288ba9ba8a271b25b8930a07.zip
Add explanatory comment for Vim 'nocompatible'
Diffstat (limited to 'vim')
-rw-r--r--vim/vimrc4
1 files changed, 3 insertions, 1 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 7a67c2c4..d225a148 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -1,4 +1,6 @@
-" Don't make any effort to be compatible with vi, use more sensible settings
+" 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