commit 4411344f7c18e2c4d7c1b1be6c3e7c6f1e19a262 parent 7ff9def95b4784258dbd1589dd62ff0712974e59 Author: Martin Grenfell <martin.grenfell@gmail.com> Date: Tue, 27 Dec 2011 22:22:10 +0000 update the doc for the new NERDTreeFind behaviour Diffstat:
| M | doc/NERD_tree.txt | | | 10 | +++++++--- |
1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/doc/NERD_tree.txt b/doc/NERD_tree.txt @@ -129,9 +129,13 @@ The following features and functionality are provided by the NERD tree: Close the NERD tree in this tab. :NERDTreeFind *:NERDTreeFind* - Find the current file in the tree. If no tree exists for the current tab, - or the file is not under the current root, then initialize a new tree where - the root is the directory of the current file. + Find the current file in the tree. + + If not tree exists and the current file is under vim's CWD, then init a + tree at the CWD and reveal the file. Otherwise init a tree in the current + file's directory. + + In any case, the current file is revealed and the cursor is placed on it. ------------------------------------------------------------------------------ 2.2. Bookmarks *NERDTreeBookmarks*
