nerdtree

A tree explorer plugin for vim.
Index Commits Files Refs
commit 371379a86000de263db3f09b644a25bf63d713fb
parent 0a91f3511e4ed216f811aeaf14a9627aae4669bc
Author: Martin Grenfell <martin_grenfell@msn.com>
Date:   Sun,  8 Jun 2008 17:58:38 +1200

read and write marks automatically

Diffstat:
Mplugin/NERD_tree.vim | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim
@@ -1432,7 +1432,7 @@ function! s:InitNerdTree(dir)
     call t:NERDTreeRoot.Open()
 
     call s:CreateTreeWin()
-
+    call s:ReadMarks()
     call s:RenderView()
 endfunction
 
@@ -2855,6 +2855,7 @@ function! s:MarkNode(name)
     if currentNode != {}
         let marks = s:GetMarks()
         let marks[a:name] = currentNode.path
+        call s:WriteMarks()
         call s:RenderView()
     else
         call s:Echo("select a node first")