diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-30 17:22:55 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-30 17:25:47 +1300 |
commit | ba6e8ed9016343b4ae7acc2cac6e3a637b42b619 (patch) | |
tree | f8c752b91a8d5439ab94b39ed08abfe3c653c14c /vim | |
parent | Use ==# consistently in Vim config (diff) | |
download | dotfiles-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')
-rw-r--r-- | vim/vimrc | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -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 |