I am using macvim Version 8.0.1098 (137) MacOS Sierra 10.12.6. I downloaded NerdTree tabs from here. I am using pathogen to manage my plugins. All the plugins work except this one. This is the error message I get when I type the command


I get the error

Error detected while processing function <SNR>27_NERDTreeToggleAllTabs[7]..<SNR>27_NERDTreeOpenAllTabs[5]..<SNR>27_NERDTreeMirrorOrCreate:
line    7:
E464: Ambiguous use of user-defined command:     silent NERDTreeMirror
line   12:
E492: Not an editor command:       silent NERDTreeToggle 

Now if I install the simple NerdTree it seems to work totally fine. Any suggestions on how I can figure out what I might be doing wrong here?

Also when I open macvim now I get the error at the bottom which is

enter image description here

  • 3
    plugin error. Create an issue at the plugins page. Oct 23 '17 at 6:51
  • Except that plugin is no longer actively maintained, apparently. The author says he doesn't even use his own creation anymore. So maybe this one should be skipped.
    – B Layer
    Oct 23 '17 at 7:32
  • From your question I'm not totally sure: did you install both NerdTree and NerdTreeTable? Because your error says that a NerdTree command doesn't exist which makes me think you didn't install NerdTree.
    – statox
    Oct 23 '17 at 9:37
  • @statox I simply installed NerdTree Tabs using pathogen.
    – Rajeshwar
    Oct 23 '17 at 17:32
  • 1
    The first step in the "installation" section of the README says If you haven't already, install NERDTree and then install NerdTreeTab. NerdTreeTabs uses the plugin NerdTree, if it is not installed you get an error saying that a command you're trying to use doesn't exist.
    – statox
    Oct 24 '17 at 6:44

The error message Not an editor command: silent NERDTreeToggle says that something is trying to use a command NERDTreeToggle but this command doesn't exist and Vim can't execute it.

NERDTreeToggle is a command defined by the plugin NERDTree which seems to indicate that the plugin is not installed.

Now when you read the very first line of the installation section in the README you'll see

  1. If you haven't already, install NERDTree (see https://github.com/scrooloose/nerdtree)

Thus if you install the plugin you should get rid of these errors.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.