carlhuda / janus

Vim distribution
7.88k stars 814 forks source link

Should fix `E486: Pattern Not found: NerdTreeMirror` error #665

Closed penzur closed 8 years ago

penzur commented 8 years ago

This change is Reviewable

kalbasit commented 8 years ago

@elizar is this regarding #601 ? I was not able to confirm it myself. Do you want surround it with an if exists('NERDTreeMirror') instead?

penzur commented 8 years ago

@kalbasit Sure! Will push update in a bit...

penzur commented 8 years ago

@kalbasit I've put back the :NERDTreeMirror command and remove the space after :NERDTreeToggle<CR> instead, which also fixes the #601 error. So no need to wrap it with a conditional statement I guess.

penzur commented 8 years ago

Although I'm not quite sure why the space causes a pattern related error on my end though.

kalbasit commented 8 years ago

Interesting, thank you for finding that out.