[英]How can I resolve these errors when I open a file with vim?
因此,当我在 Ubuntu 20.04 笔记本电脑上打开文件(即vi examples.R
)时,我收到以下错误字符串:
Error detected while processing /home/mikel/.vimrc:
line 1:
E319: Sorry, the command is not available in this version: call plug#begin('~/.vim/plugged')
line 2:
E492: Not an editor command: Plug 'sheerun/vim-polyglot'
line 3:
E492: Not an editor command: Plug 'trevordmiller/nova-vim'
line 4:
E492: Not an editor command: Plug 'jalvesaq/Nvim-R'
line 6:
E319: Sorry, the command is not available in this version: call plug#end()
Press ENTER or type command to continue
我的 ~/.vimrc 文件是:
call plug#begin('~/.vim/plugged')
Plug 'sheerun/vim-polyglot'
Plug 'trevordmiller/nova-vim'
Plug 'jalvesaq/Nvim-R'
call plug#end()
在诊断这个问题时,我什至不知道从哪里开始。 大家有什么想法吗? 谢谢!
看起来您破坏了.vimrc
,并且您的vi
只是vim
的别名。 尝试修复您的配置(在我看来 Vundle 以某种方式搞砸了)或删除~/.vimrc
并重新开始。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.