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

PlugClean required for manually cloned plugins

Open archerindigo opened this issue 3 years ago • 0 comments

I usually backup my whole .vim/ and .vimrc to github and pull them to new machines. You can find my repository here. 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



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

archerindigo avatar May 29 '21 15:05 archerindigo