: NERDTree is not an editor command

  question, vim

The NERDTree plug-in is installed, indicating that the installation has been successful. input: nerdtree prompt is not an editor command, and vim has just been used. please tell me what the problem is.

filetype off

The following configurations are set according to the blogs that invite others.

set rtp+=~/.vim/bundle/vundle.vim
call vundle#begin()

Plugin ‘gmarik/Vundle.vim’
Plugin ‘git://github.com/scrooloose/nerdtree.git’
Plugin ‘git://github.com/kien/ctrlp.vim.git’

call vundle#end()
filetype plugin indent on

First of all, you need to check whether you have successfully installed NERDTree, enter vim and enter:

:PluginList

Check if there is NERDTree in your Vundle configuration list.
Then run:

:PluginInstall

Install the NERDTree plug-in, if you have a+sign in front of the list, you have successfully installed it, or a * sign (installed)
Then re-enter vim input:

:NERDTreeToggle

Command to start NERDTree
If you want to open vim by default and start NERDTree, configure it in your vimrc file:

autocmd StdinReadPre * let s:std_in=1
 autocmd VimEnter * if argc() == 0 && !  exists("s:std_in") | NERDTree | endif

You can refer to the github document of NERDTree:https://github.com/scrooloose/nerdtree

I hope I can help you: -D