
首先 plug.vim 已经安装到 ~/.vim/autoload/plug.vim 但是在 vim :scriptnames 输出没有显示 plug.vim
::scriptnames 1: ~/.vimrc 2: /opt/homebrew/Cellar/vim/9.0.0150/share/vim/vim90/plugin/getscriptPlugin.vim 3: /opt/homebrew/Cellar/vim/9.0.0150/share/vim/vim90/plugin/gzip.vim 4: /opt/homebrew/Cellar/vim/9.0.0150/share/vim/vim90/plugin/logiPat.vim 5: /opt/homebrew/Cellar/vim/9.0.0150/share/vim/vim90/plugin/manpager.vim 6: /opt/homebrew/Cellar/vim/9.0.0150/share/vim/vim90/plugin/matchparen.vim 7: /opt/homebrew/Cellar/vim/9.0.0150/share/vim/vim90/plugin/netrwPlugin.vim 8: /opt/homebrew/Cellar/vim/9.0.0150/share/vim/vim90/plugin/rrhelper.vim 9: /opt/homebrew/Cellar/vim/9.0.0150/share/vim/vim90/plugin/spellfile.vim 10: /opt/homebrew/Cellar/vim/9.0.0150/share/vim/vim90/plugin/tarPlugin.vim 11: /opt/homebrew/Cellar/vim/9.0.0150/share/vim/vim90/plugin/tohtml.vim 12: /opt/homebrew/Cellar/vim/9.0.0150/share/vim/vim90/plugin/vimballPlugin.vim 13: /opt/homebrew/Cellar/vim/9.0.0150/share/vim/vim90/plugin/zipPlugin.vim 我已经将 .vimrc 清空了
就算强制加载 plug.vim 也无法使用
:PlugInstall E492: 不是编辑器的命令: PlugInstall