nerdtree

A tree explorer plugin for vim.
Index Commits Files Refs
commit d4b78be3060b36b196b8fcb01700bfb23539d44c
parent 5ff836ed26cb98a952fd7f2037c8ca353ddddd8a
Author: Martin Grenfell <martin_grenfell@msn.com>
Date:   Wed, 17 Dec 2008 23:13:13 +1300

doc the NERDTreeHijackNetrw option

Diffstat:
Mdoc/NERD_tree.txt | 19+++++++++++++++++++
1 file changed, 19 insertions(+), 0 deletions(-)
diff --git a/doc/NERD_tree.txt b/doc/NERD_tree.txt
@@ -580,6 +580,9 @@ NERD tree. These options should be set in your vimrc.
 |'NERDTreeHighlightCursorline'| Tell the NERD tree whether to highlight the
                                 current cursor line.
 
+|'NERDTreeHijackNetrw'|         Tell the NERD tree whether to replace the netrw
+                                autocommands for exploring local directories.
+
 |'NERDTreeIgnore'|              Tells the NERD tree which files to ignore.
 
 |'NERDTreeBookmarksFile'|       Where the bookmarks are stored.
@@ -706,6 +709,22 @@ If set to 1, the current cursor line in the NERD tree buffer will be
 highlighted. This is done using the |cursorline| option.
 
 ------------------------------------------------------------------------------
+                                                       *'NERDTreeHijackNetrw'*
+Values: 0 or 1.
+Default: 1.
+
+If set to 1, doing a >
+    :edit <some directory>
+<
+will open up a "secondary" NERD tree instead of a netrw in the target window.
+
+Secondary NERD trees behaves slighly different from a regular trees in the
+following respects:
+    1. 'o' will open the selected file in the same window as the tree,
+       replacing it.
+    2. you can have as many secondary tree as you want in the same tab.
+
+------------------------------------------------------------------------------
                                                             *'NERDTreeIgnore'*
 Values: a list of regular expressions.
 Default: ['\~$'].