I am trying to add NERDTree to my RHEL machine by appending following lines in .vimrc after placing NERD_tree.vim in plugin folder.
autocmd VimEnter * NERDTree
autocmd VimEnter * wincmd p
The problem is that I am able to run it using these commands in Mac but RHEL throws this error:
Error detected while processing VimEnter Auto commands for "*":
E492: Not an editor command: NERDTree
Can somebody help me resolve this error?