V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
QurakJaker
V2EX  ›  问与答

vim 无法使用 or 加载 vim-plug

  •  
  •   QurakJaker · 2022-08-09 15:37:36 +08:00 · 648 次点击
    这是一个创建于 835 天前的主题,其中的信息可能已经有所发展或是发生改变。

    首先 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
    
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5837 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 02:17 · PVG 10:17 · LAX 18:17 · JFK 21:17
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.