aboutsummaryrefslogtreecommitdiff
path: root/vim/config/debian.vim
blob: e50fc2607be18a90b199ba2a6437c988ac999116 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
" Revert settings that Debian might have touched
if $VIM ==# '/usr/share/vim' && filereadable('/etc/debian_version')

  " Set options back to appropriate defaults
  set history&
  set suffixes&
  if has('cmdline_info')
    set ruler&
  endif
  if has('printoptions')
    set printoptions&
  endif

  " Restore terminal settings to reflect terminfo
  set t_Co& t_Sf& t_Sb&

  " Remove addons directories from 'runtimepath' if present
  silent! set runtimepath-=/var/lib/vim/addons
  silent! set runtimepath-=/var/lib/vim/addons/after

endif