aboutsummaryrefslogtreecommitdiff
path: root/vim/system/debian.vim
blob: 125a9240509c009c2b42bf1bf76206dfee1db43e (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')
  finish
endif

" 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