Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use the correct scope for the "i" and "s" commands
The docs say that these mappings should have the "FileNode" scope rather than the "Node" scope, which is actually too broad. This change fixes the following bug: 1. Open the NERDTree 2. Navigate cursor to a directory node with children 3. Press "i" or "s", and then press "r" 4. Observe that the node will close when it should remain open This is due to the usage of an incorrect mapping scope.
- Loading branch information