From cdf1e8d6e9fceac0677d1df0016ff649aeba26f7 Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Sun, 29 Jun 2008 19:55:56 +1200 Subject: [PATCH] update the doc around the NERDTreeWinPos option --- doc/NERD_tree.txt | 31 ++++++------------------------- 1 file changed, 6 insertions(+), 25 deletions(-) diff --git a/doc/NERD_tree.txt b/doc/NERD_tree.txt index db90b84..ede4590 100644 --- a/doc/NERD_tree.txt +++ b/doc/NERD_tree.txt @@ -574,14 +574,9 @@ NERD tree. These options should be set in your vimrc. |NERDTreeSortOrder| Tell the NERD tree how to sort the nodes in the tree. -|NERDTreeSplitVertical| Tells the script whether the NERD tree should - be created by splitting the window vertically - or horizontally. - |NERDTreeWinPos| Tells the script where to put the NERD tree window. - |NERDTreeWinSize| Sets the window size when the NERD tree is opened. @@ -818,30 +813,16 @@ Other examples: > 3. Dirs will appear first, then ruby and php. Swap files, bak files and vim backup files will appear last with everything else preceding them. ------------------------------------------------------------------------------- - *NERDTreeSplitVertical* -Values: 0 or 1. -Default: 1. - -This option, along with |NERDTreeWinPos|, is used to determine where the NERD -tree window appears. - -If it is set to 1 then the NERD tree window will appear on either the left or -right side of the screen (depending on the |NERDTreeWinPos| option). - -If it set to 0 then the NERD tree window will appear at the top of the screen. - ------------------------------------------------------------------------------ *NERDTreeWinPos* -Values: 0 or 1. -Default: 1. +Values: "left", "right", "top" or "bottom" +Default: "left". -This option works in conjunction with the |NERDTreeSplitVertical| option to -determine where NERD tree window is placed on the screen. +This option is used to determine where NERD tree window is placed on the +screen. -If the option is set to 1 then the NERD tree will appear on the left or top of -the screen (depending on the value of |NERDTreeSplitVertical|). If set to 0, -the window will appear on the right or bottom of the screen. +"top" or "bottom", will cause a horizontal split to be created for the tree, +while "left" and "right" will cause a vertical split. This option is makes it possible to use two different explorer type plugins simultaneously. For example, you could have the taglist plugin on the