Set nocompatible at the very start of the file

This commit is contained in:
Anthony Rose 2019-06-17 19:30:50 +01:00
parent 988c044872
commit 5ea3a83016

5
vimrc
View file

@ -5,6 +5,10 @@
" Includes parts from Tim Pope's «sensible.vim» " Includes parts from Tim Pope's «sensible.vim»
" <https://github.com/tpope/vim-sensible>. " <https://github.com/tpope/vim-sensible>.
" ======================================================================
" Set this first to avoid overwriting later settings.
set nocompatible
" ====================================================================== " ======================================================================
" Load Pathogen if Vim does not support packages. " Load Pathogen if Vim does not support packages.
if !has("packages") if !has("packages")
@ -49,7 +53,6 @@ set linebreak
set list set list
set listchars=tab:→·,trail:~,extends:>,precedes:< set listchars=tab:→·,trail:~,extends:>,precedes:<
set modelines=0 set modelines=0
set nocompatible
set nomodeline set nomodeline
set nrformats-=octal set nrformats-=octal
set number set number