mirror of
https://github.com/tpope/vim-sensible.git
synced 2025-11-08 11:03:47 -05:00
Set nocompatible
This commit is contained in:
@@ -8,15 +8,13 @@ else
|
||||
let g:loaded_sensible = 'yes'
|
||||
endif
|
||||
|
||||
if !(exists('g:did_load_filetypes') && exists('g:did_load_ftplugin') && exists('g:did_indent_on'))
|
||||
filetype plugin indent on
|
||||
endif
|
||||
if has('syntax') && !exists('g:syntax_on')
|
||||
syntax enable
|
||||
endif
|
||||
|
||||
" Use :help 'option' to see the documentation for the given option.
|
||||
|
||||
" Disable vi compatibility, if for some reason it's on.
|
||||
if &compatible
|
||||
set nocompatible
|
||||
endif
|
||||
|
||||
" Check if an option was set from a file in $HOME. This lets us avoid
|
||||
" overriding options in the user's vimrc, but still override options in the
|
||||
" system vimrc.
|
||||
@@ -132,6 +130,13 @@ if has('langmap') && exists('+langremap') && &langremap && s:MaySet('langremap')
|
||||
set nolangremap
|
||||
endif
|
||||
|
||||
if !(exists('g:did_load_filetypes') && exists('g:did_load_ftplugin') && exists('g:did_indent_on'))
|
||||
filetype plugin indent on
|
||||
endif
|
||||
if has('syntax') && !exists('g:syntax_on')
|
||||
syntax enable
|
||||
endif
|
||||
|
||||
if empty(mapcheck('<C-U>', 'i'))
|
||||
inoremap <C-U> <C-G>u<C-U>
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user