junegunn / junegunn/vim-plug

PlugClean required for manually cloned plugins

Open
#1,096 0 comments 1 reaction 0 assignees View on GitHub
question
Dominant language
Vim Script
Stars
35.8k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

I usually backup my whole .vim/ and .vimrc to github and pull them to new machines. You can find my repository [here](https://github.com/archerindigo/vimrc). Those 3rd-party plugins I use are set as git sub-modules so they would be cloned from remote along with my repository. However, when I try to update the plugins using PlugUpdate, "PlugClean required" will prompt so I have to clean all my plugins and install them again.

How can I avoid this situation? Is there some point that vim-plug record the status of the plugins such that this error occurs even though the plugins are at the same commit when I backup?

![image](https://user-images.githubusercontent.com/25702060/120076420-c27c6080-c0a5-11eb-949c-dd76adc90167.png)

------------------------------

```

```

- Type:
- [ ] Bug
- [ ] Enhancement
- [ ] Feature Request
- [x] Question
- OS:
- [ ] All/Other
- [x] Linux
- [ ] OS X
- [ ] Windows
- Vim:
- [x] Terminal Vim
- [ ] GVim
- [ ] Neovim

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.