nerdtree

A tree explorer plugin for vim.
Index Commits Files Refs
commit bc41c51f930233519e7fea52d2973e4d860dba5c
parent 0888f6c01122dcd3f52f60c224aa631bbf74d392
Author: Martin Grenfell <martin_grenfell@msn.com>
Date:   Tue, 10 Jun 2008 22:50:52 +1200

doc :RevealMark

Diffstat:
Mdoc/NERD_tree.txt | 5+++++
Mplugin/NERD_tree.vim | 2+-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/doc/NERD_tree.txt b/doc/NERD_tree.txt
@@ -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
     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>
     <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
diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim
@@ -1779,8 +1779,8 @@ function! s:DumpHelp()
         let @h=@h."\" Mark commands~\n"
         let @h=@h."\" :Mark <name>\n"
         let @h=@h."\" :MarkToRoot <mark>\n"
-        let @h=@h."\" :OpenMark <mark>\n"
         let @h=@h."\" :RevealMark <mark>\n"
+        let @h=@h."\" :OpenMark <mark>\n"
         let @h=@h."\" :ClearMarks [<marks>]\n"
         let @h=@h."\" :ClearAllMarks\n"
     else