aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-13 00:51:26 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-13 00:51:26 +1300
commit71ed6ac7fededfacb13e9a43483b926892320af1 (patch)
tree9eb213bcdb98ae59869ac936e079f7e515b7e7e4
parentd704a4dc3a14b6f5280a67f0ada46687ce008de7 (diff)
parentba43c75e44251df28df4cf67f9842fc026b47674 (diff)
downloaddotfiles-71ed6ac7fededfacb13e9a43483b926892320af1.tar.gz
Merge branch 'feature/vim-plug-dis' into develop
* feature/vim-plug-dis: Pre-emptively disable core Vim plugins in config
-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