Próbuję zainstalować Vundle na moim Macvim. Postępowałem zgodnie z następującym link, aby uzyskać Vundle. Skonfigurowałem również mój plik .vimrc. Ale kiedy próbuję PluginInstall, pojawia się następujący błąd.Błąd Vim E492 - Nie polecenie edytora: PluginInstall
E492: Not an editor command: PluginInstall
Moje .vimrc zawiera następujące elementy:
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
Mój katalog vim:
Username-MacBook-Pro:bundle u1$ pwd
/Users/u1/.vim/bundle
Username-MacBook-Pro:bundle u1$ ls
Vundle.vim
Ja również sprawdzone this stackoverflow post. Ale to nie rozwiązało mojego problemu. Dlaczego rzuca taki błąd i jak mogę znaleźć to, co jest dokładnie moim problemem.
Miło, pracował dla mnie. –