aboutsummaryrefslogtreecommitdiff
path: root/vim/system/centos.vim
blob: 3c1dbc4858ee2f7c3e33eb266f7dd149cf4cd631 (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
33
" 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! cscope 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