首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >处理vimrc时检测到错误:-如何在vim中使用pugins

处理vimrc时检测到错误:-如何在vim中使用pugins
EN

Stack Overflow用户
提问于 2021-02-11 19:59:09
回答 1查看 1.1K关注 0票数 2

今天我在做我的自定义vimrc,但是它给了我这个错误。它不允许我使用任何插件。有人能告诉我哪里做错了吗?这些行是它显示的错误:

代码语言:javascript
运行
复制
E117: Unknown function: plug#begin
line   10:
E492: Not an editor command: Plug 'rbgrouleff/bclose.vim'
line   11:
E492: Not an editor command: Plug 'dbakker/vim-projectroot'
line   12:
E492: Not an editor command: Plug 'scrooloose/nerdtree'
line   13:
E492: Not an editor command: Plug 'junegunn/fzf'
line   14:
E492: Not an editor command: Plug 'junegunn/fzf.vim'
line   15:
E492: Not an editor command: Plug 'majutsushi/tagbar'
line   18:
E492: Not an editor command: Plug 'vim-airline/vim-airline'
line   19:
E492: Not an editor command: Plug 'vim-airline/vim-airline-themes'
line   20:
E492: Not an editor command: Plug 'bling/vim-bufferline'
line   21:
E492: Not an editor command: Plug 'altercation/vim-colors-solarized'
line   24:
E492: Not an editor command: Plug 'Raimondi/delimitMate'
line   25:
E492: Not an editor command: Plug 'scrooloose/nerdcommenter'
line   26:
E492: Not an editor command: Plug 'tpope/vim-sleuth'
line   27:
E492: Not an editor command: Plug 'Valloric/YouCompleteMe', { 'do': './install.py --clangd-completer --go-completer --rust-completer --ts-completer' }
line   28:
E492: Not an editor command: Plug 'rdnetto/ycm-generator', { 'branch': 'stable' }
line   58:
E117: Unknown function: plug#end
line   97:
E216: No such group or event: TermOpen * set bufhidden=hide
EN

回答 1

Stack Overflow用户

发布于 2021-02-11 20:02:48

你需要安装vim-plug,你可以在这里找到如何安装的说明:https://github.com/junegunn/vim-plug#installation

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/66154345

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档