相关疑难解决方法(0)

Vim错误E492 - 不是编辑器命令:PluginInstall

我正在尝试在我的Macvim上安装Vundle.我按照以下链接获取Vundle.我还配置了我的.vimrc文件.但是当我尝试PluginInstall时,我收到以下错误.

E492: Not an editor command: PluginInstall
Run Code Online (Sandbox Code Playgroud)

我的.vimrc包含以下内容:

  1 set nocompatible    "https://stackoverflow.com/questions/5845557/in-a-vimrc-is-set-nocc
    ompatible-completely-useless
  2
  3 " https://github.com/gmarik/Vundle.vim
  4 filetype off                  " required
  5
  6 " set the runtime path to include Vundle and initialize
  7 set rtp+=~/.vim/bundle/Vundle.vim
  8 call vundle#begin()
  9 " alternatively, pass a path where Vundle should install plugins
 10 "call vundle#begin('~/some/path/here')
 11
 12 " let Vundle manage Vundle, required
 13 Plugin 'gmarik/Vundle.vim'
 14
 15 " All of your Plugins must be added before the following …
Run Code Online (Sandbox Code Playgroud)

macos vim-plugin vundle

13
推荐指数
1
解决办法
1万
查看次数

不是编辑器命令 :PluginInstall, vim in mac osx 10.12.6

我有 vim 的下一个问题,我有一个 Mac OsX 10.12.6,我配置了 .vimrc,当我触摸 ESC 按钮 ant tipping 时:PluginInstall,告诉我下一个错误:

E492: Not an editor command: PluginInstall
Run Code Online (Sandbox Code Playgroud)

我按照这个页面的教程https://realpython.com/vim-and-python-a-match-made-in-heaven/但是,我认为有问题,因为它不能正常工作,因为我可以' t 使用:PluginInstall 我安装了 MacVim的命令安装任何插件,我的 .vimrc 是下一个:

set nocompatible              " required
filetype off                  " required

 set the runtime path to include Vundle and initialize
 set rtp+=~/.vim/bundle/Vundle.vim
 set splitbelow
 set splitright
 call vundle#begin()
 "split navigations
 nnoremap <C-J> <C-W><C-J>
 nnoremap <C-K> <C-W><C-K>
 nnoremap <C-L> <C-W><C-L>
 nnoremap <C-H> <C-W><C-H>
 " Enable folding
 set foldmethod=indent
 set foldlevel=99
 " Enable folding with …
Run Code Online (Sandbox Code Playgroud)

macos vim

0
推荐指数
1
解决办法
7241
查看次数

标签 统计

macos ×2

vim ×1

vim-plugin ×1

vundle ×1