aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-13 00:50:33 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-13 00:50:33 +1300
commitba43c75e44251df28df4cf67f9842fc026b47674 (patch)
tree9eb213bcdb98ae59869ac936e079f7e515b7e7e4
parentMerge branch 'release/v0.15.0' into develop (diff)
downloaddotfiles-ba43c75e44251df28df4cf67f9842fc026b47674.tar.gz
dotfiles-ba43c75e44251df28df4cf67f9842fc026b47674.zip
Pre-emptively disable core Vim plugins in config
Most of them, anyway. A couple of them are sane and useful.
-rw-r--r--vim/config/plugin.vim31
1 files changed, 22 insertions, 9 deletions
diff --git a/vim/config/plugin.vim b/vim/config/plugin.vim
index 407f0880..934424ed 100644
--- a/vim/config/plugin.vim
+++ b/vim/config/plugin.vim
@@ -2,19 +2,32 @@
" is one; extends % to match more than it does by default
silent! runtime macros/matchit.vim
-" netrw plugin configuration
+" Disable most core plugin stuff that I don't use
if has('eval')
- " Don't show the preamble banner
- let g:netrw_banner = 0
+ " 2html.vim is often useful, so keep that
+ " matchparen.vim I use constantly
- " Perform file transfers silently
- let g:netrw_silent = 1
+ " I handle versioning plugins manually, and have never used .vba
+ let g:loaded_getscriptPlugin = 'skipped'
+ let g:loaded_vimballPlugin = 'skipped'
- " Use a tree-style file listing
- let g:netrw_liststyle = 3
+ " This is what grep, sed, Awk, and Perl are for
+ let g:loaded_logiPat = 'skipped'
- " Don't list the current directory shortcut, and don't show tags files
- let g:netrw_list_hide = '^\.$,^tags$'
+ " ^Z, my dudes
+ let g:loaded_netrwPlugin = 'skipped'
+
+ " Vim servers? What is this, Emacs?
+ let g:loaded_rrhelper = 'skipped'
+
+ " System dictionaries plus custom per-machine spell files are fine
+ let g:loaded_spellfile_plugin = 'skipped'
+
+ " If I want to read a file or a file archived within it I'll decompress or
+ " unarchive it myself; a text editor should not do this
+ let g:loaded_gzip = 'skipped'
+ let g:loaded_tarPlugin = 'skipped'
+ let g:loaded_zipPlugin = 'skipped'
endif