aboutsummaryrefslogtreecommitdiff
path: root/vim/system/centos.vim
blob: 0c5854d491b893dbd93f3466b3fdb7be12366de0 (plain) (blame)
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
30
31
32
" 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 cscopeprg&
  set cscopetag&
  set cscopetagorder&
  set cscopeverbose&
  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