Defaulting bookmark name to file/dir name

Note that for directories, there is a trailing slash
This commit is contained in:
Min-Young Wu
2011-12-15 15:14:31 -08:00
committed by Martin Grenfell
parent af833e3006
commit dcccd0e532
2 changed files with 9 additions and 3 deletions

View File

@@ -155,6 +155,8 @@ Note that the following commands are only available in the NERD tree buffer.
:Bookmark <name>
Bookmark the current node as <name>. If there is already a <name>
bookmark, it is overwritten. <name> must not contain spaces.
If <name> is not provided, it defaults to the file or directory name.
For directories, a trailing slash is present.
:BookmarkToRoot <bookmark>
Make the directory corresponding to <bookmark> the new root. If a treenode