aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-01 23:51:04 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-01 23:51:04 +1200
commit5a25d075ad3f26bcdc14e39b75c1f893fcc79eef (patch)
tree242ea3852d4c2bc8adcbbab2f487140657077427 /vim/vimrc
parentRemove custom digraphs (diff)
downloaddotfiles-5a25d075ad3f26bcdc14e39b75c1f893fcc79eef.tar.gz
dotfiles-5a25d075ad3f26bcdc14e39b75c1f893fcc79eef.zip
Move plugin-specific settings into ~/.vim/plugin
Makes way more sense--these files won't get loaded by definition unless plugins are enabled, and dist.vim will still be in time to stop the distributed plugins from loading.
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc27
1 files changed, 0 insertions, 27 deletions
diff --git a/vim/vimrc b/vim/vimrc
index b35c5404..52b1a378 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -264,32 +264,5 @@ nmap <Leader>x <Plug>StripTrailingWhitespace
" \z sets NZ English spelling (compare \u)
nnoremap <Bslash>z :<C-U>setlocal spelllang=en_nz<CR>
-" Settings for plugins
-if &loadplugins
-
- " Add packaged matchit.vim, if supported
- if has('packages') && !has('nvim')
- packadd! matchit
- endif
-
- " Skip loading some plugins:
- " I manage plugins myself with Git and a Makefile
- let g:loaded_getscriptPlugin = 1
- let g:loaded_vimballPlugin = 1
- " Vim is the wrong tool for reading archives or compressed text
- let g:loaded_gzip = 1
- let g:loaded_tarPlugin = 1
- let g:loaded_zipPlugin = 1
- " I prefer filtering text with Unix tools
- let g:loaded_logiPat = 1
- " The shell, tab completion, and 'wildmenu' are good enough
- let g:loaded_netrwPlugin = 1
- " I don't use Vim servers
- let g:loaded_rrhelper = 1
- " I don't need extra spelling files
- let g:loaded_spellfile_plugin = 1
-
-endif
-
" Source any .vim files from ~/.vim/config
runtime! config/*.vim