diff options
Diffstat (limited to 'vim/config/debian.vim')
-rw-r--r-- | vim/config/debian.vim | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/vim/config/debian.vim b/vim/config/debian.vim new file mode 100644 index 00000000..e50fc260 --- /dev/null +++ b/vim/config/debian.vim @@ -0,0 +1,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 |