scrooloose/nerdtree — Issue #140: NERDTreeClose doesn't work with NERDTreeAddKeyMap
Author: philipmat
Created: 2012-02-21 09:15:40+00:00
State: open

This is a follow up on #64 - thank you for implementing this feature.
I have my custom maps set up like this: https://gist.github.com/1835019

For example:

``` vim
function! NERDTreeCustomMapsOpenInFgTab(fnode)
call a:fnode.open({'where' : 't'})
NERDTreeClose
endfunction
```

It seems as if the NERDTreeClose command doesn't get executed once a:fnode.open was called. No error or anything, just you come back to the original window and NERDTree is still open.

Am I doing something wrong?

Thanks