无法在Raspberry Pi(Vundle)中安装Vim插件

时间:2018-07-21 14:22:43

标签: vim raspbian vim-plugin vundle

我正在尝试在vim中为python安装插件,但是我无法做到这一点。我从Raspberry pi中删除了vi tiny,并安装了vi 8.0。

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

我从sudo用户更新了文件夹/ home / etc / vim / vimrc中的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:不是编辑器命令:PluginInstall E942 error Image

在VIM中输入:Scriptname时会显示此内容

scriptname Image

0 个答案:

没有答案