aboutsummaryrefslogtreecommitdiff
path: root/vim/system/centos.vim
blob: 26289bf8cba7c437f1ac493de30c6ee644d511d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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