Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uninstall plugins #259

Closed
DavidParkin opened this issue Feb 22, 2018 · 5 comments
Closed

Uninstall plugins #259

DavidParkin opened this issue Feb 22, 2018 · 5 comments
Labels

Comments

@DavidParkin
Copy link

What is the dein way to remove an unwanted plugin?

@Shougo
Copy link
Owner

Shougo commented Feb 22, 2018

  • Remove the dein#add() lines

  • call dein#recache_runtimepath()

  • call map(dein#check_clean(), "delete(v:val, 'rf')")

@Shougo Shougo closed this as completed Feb 22, 2018
@DavidParkin
Copy link
Author

DavidParkin commented Feb 22, 2018

Thank you. However when I do this I lose dein and have to reinstall. I would just like to remove another plugin and remove any files.

@Shougo
Copy link
Owner

Shougo commented Feb 22, 2018

I don't understand your problem.

dein#check_clean() just removes the invalid plugins.

@DavidParkin
Copy link
Author

Well, I repeated the procedure just to make sure it wasn't me doing something stupid. However the Shougo directory was empty. Note my histfile contained no dodgy deletes.

What does the map and the delete var do?

@Shougo
Copy link
Owner

Shougo commented Feb 23, 2018

dein#check_clean() just returns the unneeded plugins path.
So, it can be removed by call map(dein#check_clean(), "delete(v:val, 'rf')").

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants