Nerdtree: NERDTreeFind Not an editor command: NERDTreeFind

Created on 25 Oct 2016  路  2Comments  路  Source: preservim/nerdtree

I am having issues getting the NERDTreeFind command to work.

If i have an open NerdTreeBuffer the command works.
But not with a fresh find file.

Most helpful comment

Thanks phil @PhilRunninger
I have this on:
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }

All 2 comments

@oscarmorrison, How do manage your plugins? I'm using Plug.vim, and I was able to duplicate this issue only after I made this change:

call plug#begin($VIMHOME.'/bundle')
  Plug 'scrooloose/nerdtree', { 'on':  'NERDTreeToggle' }
call plug#end()

The second argument to the Plug command loads NERDTree when I toggle it, but if I do :NERDTreeFind first, it fails because NERDTree hasn't been loaded yet.

I don't remember if other plugin managers offer the same functionality. If this is not the case for you, provide more information about your setup, so it can be diagnosed.

Thanks phil @PhilRunninger
I have this on:
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MuhammadMouradG picture MuhammadMouradG  路  6Comments

kyoz picture kyoz  路  4Comments

sunnyguan picture sunnyguan  路  4Comments

PinheiroCosta picture PinheiroCosta  路  4Comments

NikosEfthias picture NikosEfthias  路  3Comments