Every coding configuration need I have for Vim works just fine if I put it all in the .vimrc
file, but I'm curious: let's just say that I wanted to make my own scripts or plugins, and my .vimrc
file was becoming too cluttered.
According to google, the format for plugins is ~/. vim/pack/vendor/start/plugin_name
, and that's exactly what my tpope surround plugin uses, but I'm wondering how somebody would have a separate folder for their vim scripts, especially considering that linux wouldn't let you have two pack
directories in the same directory for good reason.
How else (other than the .vimrc file in your home folder) do Vim programmers get Vim to read external files that allow the user to have separate VimScripts?
.vimrc
setting you would like to depend on the script you are editing? Or do you only want to split your.vimrc
into multiple files for the sake a readability?