liuchengxu / space-vim

:four_leaf_clover: Lean & mean spacemacs-ish Vim distribution
https://liuchengxu.github.io/space-vim/
MIT License
2.85k stars 255 forks source link

Change plug.vim file path to ~/.cache/space-vim/site/autoload/plug.vim #509

Open samwhelp opened 1 year ago

samwhelp commented 1 year ago

Change Log

Prototype Sample

rene-descartes2021 commented 1 year ago

What is the use-case? Allowing for management of read-only directories? Better conformance to XDG Base directory specification? Elimination of hard-coded instances of ~/.vim?

What is the justification for changing the .spacevim default g:spacevim_plug_home from ~/.vim/plugged/ to ~/.cache/space-vim/plug? Everyone can already change this to wherever they please through modifying their .spacevim.


On this subject of plug-vim, I've put some thought into using dein instead of the plug-vim in #500. Dein values useful complexity beyond the minimalism of plug-vim. Note that dein is treated as a plugin, in the same path as the other plugins, and autoload/plug.vim no longer exists. i.e. Dein is automatically downloaded into the plugin dir along with the other plugins, and is managed as any other plugin.