]> git.rmz.io Git - dotfiles.git/blobdiff - vim/vimrc
vim: introduce vim-autosource
[dotfiles.git] / vim / vimrc
index fe0aa1232787e78bc1c83c9df8260ec7ee50106d..93f8bd0f25932decc9f576471f8fa45f19f4ea84 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -132,10 +132,17 @@ Plug 'mtth/scratch.vim'  " {{{2
   let g:scratch_autohide = 0
 "}}}
 
-Plug 'vim-utils/vim-man'  " {{{2
-let g:man_width = 80
+let g:man_hardwrap = 80
+if !has('nvim')
+  Plug 'vim-utils/vim-man'  " {{{2
+  let g:man_width = 80
 "}}}
+endif
 
+Plug 'jenterkin/vim-autosource'  " {{{2
+  let g:autosource_hashdir = $XDG_CACHE_HOME . '/vim/vim-autosource'
+  let g:autosource_conf_names = ['.vimrc', '.vimrc.lua']
+"}}}
 call plug#end()
 
 filetype plugin indent on