From 55a8954c48d94c207facb1a0ba109a427b15bcbf Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Sun, 29 Jun 2014 12:37:29 +0100 Subject: [PATCH] update the doc/quickhelp for :Bookmark Make it clearer that the argument is optional. Closes #229 --- autoload/nerdtree.vim | 2 +- doc/NERD_tree.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/nerdtree.vim b/autoload/nerdtree.vim index c440bf8..3591932 100644 --- a/autoload/nerdtree.vim +++ b/autoload/nerdtree.vim @@ -513,7 +513,7 @@ function! nerdtree#dumpHelp() let @h=@h."\" ". g:NERDTreeMapHelp .": toggle help\n" let @h=@h."\"\n\" ----------------------------\n" let @h=@h."\" Bookmark commands~\n" - let @h=@h."\" :Bookmark \n" + let @h=@h."\" :Bookmark []\n" let @h=@h."\" :BookmarkToRoot \n" let @h=@h."\" :RevealBookmark \n" let @h=@h."\" :OpenBookmark \n" diff --git a/doc/NERD_tree.txt b/doc/NERD_tree.txt index 2458d11..6e83423 100644 --- a/doc/NERD_tree.txt +++ b/doc/NERD_tree.txt @@ -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. -:Bookmark +:Bookmark [] Bookmark the current node as . If there is already a bookmark, it is overwritten. must not contain spaces. If is not provided, it defaults to the file or directory name.