aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-30 17:22:55 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-30 17:25:47 +1300
commitba6e8ed9016343b4ae7acc2cac6e3a637b42b619 (patch)
treef8c752b91a8d5439ab94b39ed08abfe3c653c14c /vim/vimrc
parentdc5d23f3b64d82ac692151d6141023baf4cd3397 (diff)
downloaddotfiles-ba6e8ed9016343b4ae7acc2cac6e3a637b42b619.tar.gz
dotfiles-ba6e8ed9016343b4ae7acc2cac6e3a637b42b619.zip
Remove 'nocompatible' setting
vim-vint says: >Do not use nocompatible which has unexpected effects (see :help >nocompatible) I can't actually find anything in the help item it references that says that setting 'nocompatible' is bad, but the situation in which it's needed is very niche anyway; per the removed comment: >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. We'll just leave it out, and see if anything bad happens..."if in doubt, rip it out".
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc5
1 files changed, 0 insertions, 5 deletions
diff --git a/vim/vimrc b/vim/vimrc
index c72857ce..e0020b5e 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -1,8 +1,3 @@
-" 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
if has('multi_byte')
set encoding=utf-8