mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-08 11:23:48 -05:00
Update the documentation/README.
This commit is contained in:
@@ -143,3 +143,8 @@ Use these variables in your vimrc. Note that below are default arrow symbols
|
|||||||
let g:NERDTreeDirArrowExpandable = '▸'
|
let g:NERDTreeDirArrowExpandable = '▸'
|
||||||
let g:NERDTreeDirArrowCollapsible = '▾'
|
let g:NERDTreeDirArrowCollapsible = '▾'
|
||||||
```
|
```
|
||||||
|
You can remove the arrows altogether by setting these variables to empty strings, as shown below. This will remove not only the arrows, but a single space following them, shifting the whole tree two character positions to the left.
|
||||||
|
```vim
|
||||||
|
let g:NERDTreeDirArrowExpandable = ''
|
||||||
|
let g:NERDTreeDirArrowCollapsible = ''
|
||||||
|
```
|
||||||
|
|||||||
@@ -1223,13 +1223,19 @@ Values: Any single character.
|
|||||||
Defaults: Windows: ~ and + Others: ▾ and ▸
|
Defaults: Windows: ~ and + Others: ▾ and ▸
|
||||||
|
|
||||||
These characters indicate whether a directory is collapsible or expandable.
|
These characters indicate whether a directory is collapsible or expandable.
|
||||||
|
Example: >
|
||||||
They can be set to "\u00a0" to hide the arrows, but if you do this you may
|
|
||||||
need to change the node delimiter. See |NERDTreeNodeDelimiter|. You cannot use
|
|
||||||
the same character for both the arrows and the delimiter. Example: >
|
|
||||||
let NERDTreeDirArrowExpandable=">"
|
let NERDTreeDirArrowExpandable=">"
|
||||||
let NERDTreeDirArrowCollapsible="v"
|
let NERDTreeDirArrowCollapsible="v"
|
||||||
<
|
<
|
||||||
|
They can be set to "\u00a0" to replace the arrows with a non-breaking space.
|
||||||
|
If you do this you may need to change the node delimiter. See
|
||||||
|
|NERDTreeNodeDelimiter|. You cannot use the same character for both the arrows
|
||||||
|
and the delimiter.
|
||||||
|
|
||||||
|
Alternatively, they can be set to '' (an empty string). This removes the
|
||||||
|
arrows and the single space that follows them, shifting the entire tree two
|
||||||
|
character positions to the left.
|
||||||
|
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
*NERDTreeNodeDelimiter*
|
*NERDTreeNodeDelimiter*
|
||||||
Values: Any single character.
|
Values: Any single character.
|
||||||
|
|||||||
Reference in New Issue
Block a user