MarcWeber / vim-addon-manager

manage and install vim plugins (including their dependencies) in a sane way. If you have any trouble contact me. Usually I reply within 24 hours
Other
660 stars 59 forks source link

Don't create a ~/.vim directory when using NeoVim on NixOS #174

Open seagreen opened 8 years ago

seagreen commented 8 years ago

NixOS + VAM (configured through .nix files) + NeoVim is a great combination, thanks to whoever put it together!

One thing that could be improved: when I run :AddonsInfo foo a ~/.vim directory is created (it contains vim-pi). It's jarring for a user (who perhaps like me just switched from Vim to NeoVim) to suddenly have their ~/.vim directory resurrected.

Is there a better place VAM could put vim-pi in this situation? One option would be simply within the NeoVim config directory if NeoVim is being used.

seagreen commented 8 years ago

I though the easiest solution might be to install the vim-pi plugin using Nixpkgs and then see if the ~/.vim directory is created any more, but I ran into trouble deriving a hash for vim-pi. It doesn't seem to be listed as an available plugin. More info's in the Bitbucket issue: https://bitbucket.org/vimcommunity/vim-pi/issues/115/does-vim-pi-list-itself-in-its-plugin-list