aboutsummaryrefslogtreecommitdiff
path: root/vim/config
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-03 13:52:15 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-03 13:52:15 +1200
commiteed53f3305af0a1e059d0fbd79a3c85b17894eec (patch)
treed5028417b5354e9f9a97b5695251397da834d845 /vim/config
parentMerge branch 'release/v1.18.0' (diff)
downloaddotfiles-eed53f3305af0a1e059d0fbd79a3c85b17894eec.tar.gz
dotfiles-eed53f3305af0a1e059d0fbd79a3c85b17894eec.zip
Handle system-specific undos with system.vim file
Diffstat (limited to 'vim/config')
-rw-r--r--vim/config/centos.vim29
-rw-r--r--vim/config/debian.vim21
2 files changed, 0 insertions, 50 deletions
diff --git a/vim/config/centos.vim b/vim/config/centos.vim
deleted file mode 100644
index 26289bf8..00000000
--- a/vim/config/centos.vim
+++ /dev/null
@@ -1,29 +0,0 @@
-" 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 csprg& cst& csto& csverb&
- 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
diff --git a/vim/config/debian.vim b/vim/config/debian.vim
deleted file mode 100644
index 125a9240..00000000
--- a/vim/config/debian.vim
+++ /dev/null
@@ -1,21 +0,0 @@
-" 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