0

我正在尝试在 vim 中安装 python 插件,但我无法做到这一点。我从 Raspberry pi 中删除了 vi tiny 并安装了 vi 8.0 我按照该站点的说明进行操作

https://realpython.com/vim-and-python-a-match-made-in-heaven/

我从 /home/etc/vim/vimrc 文件夹中的 sudo 用户更新了我的 vimrc 文件

在 vimrc 文件中添加了这些行。

set nocompatible              " required
filetype off                  " required

" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()

" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')

" let Vundle manage Vundle, required
Plugin 'gmarik/Vundle.vim'

" add all your plugins here (note older versions of Vundle
" used Bundle instead of Plugin)

" ...

" All of your Plugins must be added before the following line
call vundle#end()            " required
filetype plugin indent on    " required

每当我尝试安装插件时,我都会收到错误 E942: Not an editor command: PluginInstall E942 error Image

当在 VIM 中输入 :Scriptname 时,它​​会显示这个

脚本名称图像

4

0 回答 0