QurakJaker
V2EX  ›  问与答

vim 无法使用 or 加载 vim-plug

  •  
  •   QurakJaker · Aug 9, 2022 · 1312 views
    This topic created in 1376 days ago, the information mentioned may be changed or developed.

    首先 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
    
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2985 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 09:32 · PVG 17:32 · LAX 02:32 · JFK 05:32
    ♥ Do have faith in what you're doing.