今天我在制作自己的vimrc文件时遇到了问题,它显示以下错误信息,不允许我使用任何插件。请问有谁能告诉我我做错了什么吗?这些是它显示的错误行:
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
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
请参阅https://github.com/junegunn/vim-plug上的您操作系统的安装过程。 - Geraldo Luis da Silva Ribeiro