From 4411344f7c18e2c4d7c1b1be6c3e7c6f1e19a262 Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Tue, 27 Dec 2011 22:22:10 +0000 Subject: [PATCH] update the doc for the new NERDTreeFind behaviour --- doc/NERD_tree.txt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/doc/NERD_tree.txt b/doc/NERD_tree.txt index 3fa91f2..ae66f3f 100644 --- 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*