doc :RevealMark

This commit is contained in:
Martin Grenfell 2008-06-10 22:50:52 +12:00
parent 0888f6c011
commit bc41c51f93
2 changed files with 6 additions and 1 deletions

View File

@ -120,6 +120,11 @@ The following features and functionality are provided by the NERD tree:
current tree will be used, otherwise a fresh tree will be opened. Note current tree will be used, otherwise a fresh tree will be opened. Note
that if <mark> points to a file then its parent will be used instead. that if <mark> points to a file then its parent will be used instead.
:RevealMark <mark>
If the node is cached under the current root then it will be revealed
(i.e. directory nodes above it will be opened) and the cursor will be
placed on it.
:OpenMark <mark> :OpenMark <mark>
<mark> must point to a file. The file is opened as though |NERDTree-o| was <mark> must point to a file. The file is opened as though |NERDTree-o| was
applied. If the node is cached under the current root then it will be applied. If the node is cached under the current root then it will be

View File

@ -1779,8 +1779,8 @@ function! s:DumpHelp()
let @h=@h."\" Mark commands~\n" let @h=@h."\" Mark commands~\n"
let @h=@h."\" :Mark <name>\n" let @h=@h."\" :Mark <name>\n"
let @h=@h."\" :MarkToRoot <mark>\n" let @h=@h."\" :MarkToRoot <mark>\n"
let @h=@h."\" :OpenMark <mark>\n"
let @h=@h."\" :RevealMark <mark>\n" let @h=@h."\" :RevealMark <mark>\n"
let @h=@h."\" :OpenMark <mark>\n"
let @h=@h."\" :ClearMarks [<marks>]\n" let @h=@h."\" :ClearMarks [<marks>]\n"
let @h=@h."\" :ClearAllMarks\n" let @h=@h."\" :ClearAllMarks\n"
else else