diff options
Diffstat (limited to 'vim/config/centos.vim')
-rw-r--r-- | vim/config/centos.vim | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/vim/config/centos.vim b/vim/config/centos.vim new file mode 100644 index 00000000..26289bf8 --- /dev/null +++ b/vim/config/centos.vim @@ -0,0 +1,29 @@ +" Revert settings that CentOS might have touched +if $VIM !=# '/usr/share/vim' || !filereadable('/etc/centos-release') + finish +endif + +" Set options back to appropriate defaults +set history& +if has('cmdline_info') + set ruler& +endif +if has('cscope') + set csprg& cst& csto& csverb& + silent! cs kill +endif +if has('gui') + set guicursor& +endif +if has('viminfo') + set viminfo& +endif + +" Restore terminal settings to reflect terminfo +set t_Co& t_Sf& t_Sb& + +" Delete autocmd groups +augroup redhat + autocmd! +augroup END +augroup! redhat |