From 371379a86000de263db3f09b644a25bf63d713fb Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Sun, 8 Jun 2008 17:58:38 +1200 Subject: [PATCH] read and write marks automatically --- plugin/NERD_tree.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim index fcf05cc..629b8f1 100644 --- 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")