spf13-vim icon indicating copy to clipboard operation
spf13-vim copied to clipboard

Feature/vim plug

Open compleatguru opened this issue 7 years ago • 8 comments

Hi! I have got Vim Plug to replace Vundle, mainly for performance due to parallel installing of the plugins.

In addition, I have updated amirh/HTML-AutoCloseTag to vim-scripts/HTML-AutoCloseTag as repo was missing.

Lastly, I have fixed on the uninstall.sh to remove .vim folder and fork files.

Hope this will be useful for the community.

compleatguru avatar Aug 26 '17 17:08 compleatguru

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Aug 26 '17 17:08 CLAassistant

You remove the Bundle Unbundle command. How can a user customize the plugin?

VMatrix1900 avatar Sep 25 '17 12:09 VMatrix1900

Hi @VMatrix1900 , I used vim-plug. I think just run :PlugClean! to uninstall those unwanted plugins. You can do more customization if you want to.

What I love about vim-plug is the speed itself, I keep install spf13 on every machine so the faster installation the better for me.

compleatguru avatar Sep 25 '17 14:09 compleatguru

What if I want to remove the plugin shipped with spf13_vim such as nerdcommenter? See https://github.com/spf13/spf13-vim#removing-disabling-an-included-plugin

VMatrix1900 avatar Sep 25 '17 15:09 VMatrix1900

Maybe this can be of help? https://github.com/junegunn/vim-plug/issues/469

compleatguru avatar Sep 25 '17 15:09 compleatguru

The point is that removing Unbundle function is not backward compatible. Can the Unbundle/Bundle function implemented using vim-plug? For Unbundle, something like call remove(g:plus, xxxx) will do?

On Sep 25, 2017, at 23:07, compleatguru [email protected] wrote:

Maybe this can be of help? junegunn/vim-plug#469 https://github.com/junegunn/vim-plug/issues/469 — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/spf13/spf13-vim/pull/1056#issuecomment-331911457, or mute the thread https://github.com/notifications/unsubscribe-auth/ADyAEzrRxkbXUZVxN6odrkZORpivKrtWks5sl8HEgaJpZM4PDj6_.

VMatrix1900 avatar Sep 25 '17 15:09 VMatrix1900

Hi @VMatrix1900 , I am sorry but my pull request was to suggest the use of Vim Plug, as you have forked out and perhaps examined the changes, https://github.com/spf13/spf13-vim/pull/1056/files has been modified to use Plug for installation.

As of now the official from vim-plug, https://github.com/junegunn/vim-plug/wiki/tutorial, is to comment on those plugins that you don't need, then run :PlugClean!.

The other alternative solution is to adopt https://github.com/junegunn/vim-plug/issues/469#issuecomment-226965736 where @smancill has contributed an UnPlug function.

Will this be helpful?

compleatguru avatar Sep 25 '17 15:09 compleatguru

Hi @VMatrix1900 and all,

You can try this out by curl http://bit.ly/spf13_vimplug -L > spf13-vim.sh && sh spf13-vim.sh

I have added UnPlug function.

You may wish to refer this documentation for example of use.

compleatguru avatar Oct 01 '17 08:10 compleatguru