title: Not an editor command :PluginInstall, vim in mac osx 10.12.6
body: <p>I have the next problem with vim, i have a Mac OsX 10.12.6 and i configure the .vimrc and when i touch the ESC button ant tipping <code>:PluginInstall</code>, tell me the next error:</p>
  
  <pre><code>E492: Not an editor command: PluginInstall
  </code></pre>
  
  <p>I follow the tutorial of this page <a href="https://realpython.com/vim-and-python-a-match-made-in-heaven/" rel="nofollow noreferrer">https://realpython.com/vim-and-python-a-match-made-in-heaven/</a> but, i think there is a problem, because it not working fine, beacause i can't install any Plugin with the command <code>:PluginInstall</code>
  I have MacVim installed and my .vimrc is the next:</p>
  
  <pre><code>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 &lt;C-J&gt; &lt;C-W&gt;&lt;C-J&gt;
   nnoremap &lt;C-K&gt; &lt;C-W&gt;&lt;C-K&gt;
   nnoremap &lt;C-L&gt; &lt;C-W&gt;&lt;C-L&gt;
   nnoremap &lt;C-H&gt; &lt;C-W&gt;&lt;C-H&gt;
   " Enable folding
   set foldmethod=indent
   set foldlevel=99
   " Enable folding with the spacebar
   nnoremap &lt;space&gt; za
   " alternatively, pass a path where Vundle should install plugins
   "call vundle#begin('~/some/path/here')
  
   " let Vundle manage Vundle, required
   Plugin 'gmarik/Vundle.vim'
   Plugin 'tmhedberg/SimplyFold'
   Helptags
  
   let g:SimplyFold_docstring_preview=1
   " PEP8 indetantion
   au BufNewFile,BufRead *.py
      \ set tabstop=4
      \ set softtabstop=4
      \ set shiftwidth=4
      \ set textwidth=79
      \ set expandtab
      \ set autoindent
      \ set fileformat=unix
   " HTML, JS, CSS indentation
   au BufNewfile,BufRead *.js, *.html, *.css
      \ set tabstop=2
      \ set softtabstop=2
      \ set shiftwidth=2
   "Fix problem indentation PEP8
   Plugin 'vim-script/indentpython.vim'
   "Uneccesary whitespace
   au BufRead,BufNewfile *.py,*.pyw,*.c,*.h match BadWhitespace /\s\+$/
   " UTF8 support
   set encoding=utf-8
   "Autocomplete
   Bundle 'Valloric/YouCompleteMe'
  
   let g:ymc_autoclose_preview_window_after_completion=1
   map &lt;leader&gt;g :YcmCompleter GoToDefinitionElseDeclaration&lt;CR&gt;
  
   " python with virtualenv support
  
   py &lt;&lt; EOF
   import os
   import sys
   if 'VIRTUAL_ENV' in os.environ:
       project_base_dir = os.environ['VIRTUAL_ENV']
       activate_this = os.path.join(project_base_dir, 'bin/activate_this.py')
       execfile(activate_this, dict(__file__=activate_this))
   EOF
  
   " Syntax Checkin/Highlighting
   Plugin 'vim-syntastic/syntastic'
   Plugin 'nvie/vim-flake8'
   let python_highlight_all=1
   syntax on
  
   "Color Shemes
   Plugin 'jnurmin/Zenburn'
   Plugin 'altercation/vim-colors-solarized'
   if has('gui_running')
       set background=dark
       colorscheme solarized
   else
       colorscheme zenburn
   endif
   call togglebg#map("&lt;F5&gt;")
   "File Browsing
   Plugin 'scrooloose/nerdtree'
   Plugin 'jistr/vim-nerdtree-tabs'
   let NERDTreeIgnore=['\.pyc$','\~$'] "Ignore files in NERDTree
  
   "SuperSearching
   Plugin 'kien/ctrlp.vim'
   "Line numering
   set nu
   "Git integration
   Plugin 'tpope/vim-fugitive'
  
   "Powerline
   Plugin 'Lokaltog/powerline', {'rtp': 'powerline/bindings/vim/'}
  
   "System clipboard
   set clipboard=unnamed
   "VIM in the shell
   set editing-mode vi
  
   " 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
  </code></pre>
  
  <p>I try change my .vimrc, but now the errors are the next:</p>
  
  <pre><code>dmuino@Diegos-MacBook-Pro:~$ vi .vimrc
  Error detected while processing /Users/dmuino/.vimrc:
  line    4:
  E518: Unknown option: the 
  line    8:
  E15: Invalid expression: /Users/dmuino/.vim/bundle/Vundle.vim)
  E116: Invalid arguments for function vundle#begin
  Error detected while processing function vundle#config#bundle[2]..&lt;SNR&gt;5_check_bundle_name:
  line    1:
  E121: Undefined variable: s:bundle_names
  E116: Invalid arguments for function has_key(s:bundle_names, a:bundle.name)
  E15: Invalid expression: has_key(s:bundle_names, a:bundle.name)
  line   11:
  E121: Undefined variable: s:bundle_names
  line    1:
  E121: Undefined variable: s:bundle_names
  E116: Invalid arguments for function has_key(s:bundle_names, a:bundle.name)
  E15: Invalid expression: has_key(s:bundle_names, a:bundle.name)
  line   11:
  E121: Undefined variable: s:bundle_names
  Error detected while processing /Users/dmuino/.vimrc:
  line   25:
  E492: Not an editor command:  Helptags
  Error detected while processing function vundle#config#bundle[2]..&lt;SNR&gt;5_check_bundle_name:
  line    1:
  E121: Undefined variable: s:bundle_names
  E116: Invalid arguments for function has_key(s:bundle_names, a:bundle.name)
  E15: Invalid expression: has_key(s:bundle_names, a:bundle.name)
  line   11:
  E121: Undefined variable: s:bundle_names
  line    1:
  E121: Undefined variable: s:bundle_names
  E116: Invalid arguments for function has_key(s:bundle_names, a:bundle.name)
  E15: Invalid expression: has_key(s:bundle_names, a:bundle.name)
  line   11:
  E121: Undefined variable: s:bundle_names
  Error detected while processing /Users/dmuino/.vimrc:
  line  109:
    File "&lt;string&gt;", line 1
      import os
      ^
  IndentationError: unexpected indent
  Press ENTER or type command to continue
   set nu
   "Git integration
   Plugin 'tpope/vim-fugitive'
  
   "Powerline
   Plugin 'Lokaltog/powerline', {'rtp': 'powerline/bindings/vim/'}
  
   "System clipboard
   set clipboard=unnamed
   "VIM in the shell
   set editing-mode vi
  
   " 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
  </code></pre>