update the doc around the NERDTreeWinPos option

This commit is contained in:
Martin Grenfell 2008-06-29 19:55:56 +12:00
parent 5f4a002787
commit cdf1e8d6e9

View File

@ -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 |NERDTreeSortOrder| Tell the NERD tree how to sort the nodes in
the tree. 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 |NERDTreeWinPos| Tells the script where to put the NERD tree
window. window.
|NERDTreeWinSize| Sets the window size when the NERD tree is |NERDTreeWinSize| Sets the window size when the NERD tree is
opened. opened.
@ -818,30 +813,16 @@ Other examples: >
3. Dirs will appear first, then ruby and php. Swap files, bak files and vim 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. 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* *NERDTreeWinPos*
Values: 0 or 1. Values: "left", "right", "top" or "bottom"
Default: 1. Default: "left".
This option works in conjunction with the |NERDTreeSplitVertical| option to This option is used to determine where NERD tree window is placed on the
determine where NERD tree window is placed on the screen. screen.
If the option is set to 1 then the NERD tree will appear on the left or top of "top" or "bottom", will cause a horizontal split to be created for the tree,
the screen (depending on the value of |NERDTreeSplitVertical|). If set to 0, while "left" and "right" will cause a vertical split.
the window will appear on the right or bottom of the screen.
This option is makes it possible to use two different explorer type This option is makes it possible to use two different explorer type
plugins simultaneously. For example, you could have the taglist plugin on the plugins simultaneously. For example, you could have the taglist plugin on the