linux vi保存退出e492,Vim错误E492 - 不是编辑器命令:PluginInstall
我试图在我的Macvim上安装Vundle。我遵循以下link获得Vundle。我还配置了我的.vimrc文件。但是当我尝试PluginInstall时,出现以下错误。Vim错误E492 - 不是编辑器命令:PluginInstallE492: Not an editor command: PluginInstall我的.vimrc包含以下内容:1 set nocompatible "https:
我试图在我的Macvim上安装Vundle。我遵循以下link获得Vundle。我还配置了我的.vimrc文件。但是当我尝试PluginInstall时,出现以下错误。Vim错误E492 - 不是编辑器命令:PluginInstall
E492: Not an editor command: PluginInstall
我的.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 line
16 call vundle#end() " required
17 filetype plugin indent on " required
我的VIM目录:
Username-MacBook-Pro:bundle u1$ pwd
/Users/u1/.vim/bundle
Username-MacBook-Pro:bundle u1$ ls
Vundle.vim
我还检查this计算器岗位。但它并没有解决我的问题。它为什么会抛出这样的错误,我怎么才能找到我的问题究竟是什么。
更多推荐
所有评论(0)