]> git.rmz.io Git - dotfiles.git/commitdiff
vim: introduce vim-autosource
authorSamir Benmendil <me@rmz.io>
Sat, 14 Jan 2023 00:50:31 +0000 (00:50 +0000)
committerSamir Benmendil <me@rmz.io>
Sat, 14 Jan 2023 02:35:28 +0000 (02:35 +0000)
vim/vimrc

index 7adb68f21ba3744cccd12c8e4fd3e6654d39a688..93f8bd0f25932decc9f576471f8fa45f19f4ea84 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -139,6 +139,10 @@ if !has('nvim')
 "}}}
 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