mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-09 03:43:50 -05:00
update the doc/quickhelp for :Bookmark
Make it clearer that the argument is optional. Closes #229
This commit is contained in:
@@ -513,7 +513,7 @@ function! nerdtree#dumpHelp()
|
|||||||
let @h=@h."\" ". g:NERDTreeMapHelp .": toggle help\n"
|
let @h=@h."\" ". g:NERDTreeMapHelp .": toggle help\n"
|
||||||
let @h=@h."\"\n\" ----------------------------\n"
|
let @h=@h."\"\n\" ----------------------------\n"
|
||||||
let @h=@h."\" Bookmark commands~\n"
|
let @h=@h."\" Bookmark commands~\n"
|
||||||
let @h=@h."\" :Bookmark <name>\n"
|
let @h=@h."\" :Bookmark [<name>]\n"
|
||||||
let @h=@h."\" :BookmarkToRoot <name>\n"
|
let @h=@h."\" :BookmarkToRoot <name>\n"
|
||||||
let @h=@h."\" :RevealBookmark <name>\n"
|
let @h=@h."\" :RevealBookmark <name>\n"
|
||||||
let @h=@h."\" :OpenBookmark <name>\n"
|
let @h=@h."\" :OpenBookmark <name>\n"
|
||||||
|
|||||||
@@ -160,7 +160,7 @@ click bookmarks or use the |NERDTree-o| mapping to activate them. See also,
|
|||||||
|
|
||||||
Note that the following commands are only available in the NERD tree buffer.
|
Note that the following commands are only available in the NERD tree buffer.
|
||||||
|
|
||||||
:Bookmark <name>
|
:Bookmark [<name>]
|
||||||
Bookmark the current node as <name>. If there is already a <name>
|
Bookmark the current node as <name>. If there is already a <name>
|
||||||
bookmark, it is overwritten. <name> must not contain spaces.
|
bookmark, it is overwritten. <name> must not contain spaces.
|
||||||
If <name> is not provided, it defaults to the file or directory name.
|
If <name> is not provided, it defaults to the file or directory name.
|
||||||
|
|||||||
Reference in New Issue
Block a user